Skip to content

Commit

Permalink
docs: better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 24, 2022
1 parent 5946b21 commit f7e6264
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Simple Javascript API client for RIPE Config.
## Example

```javascript
import { API } from "ripe-config";
await API.load();
const api = new API();
import { API as ConfigAPI } from "ripe-config";
await ConfigAPI.load();
const api = new ConfigAPI({ username: "YOUR_USERNAME", password: "YOUR_PASSWORD" });
console.info(await api.getResource("info.json"));
```

Expand Down

0 comments on commit f7e6264

Please sign in to comment.