Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas committed Apr 1, 2024
1 parent 4a04ff4 commit 7faf313
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ Here are some important points to have in mind when using `stringx`:

- Latest API version tested and targeted by default.
- You should identify yourself beforehand.
- `POST` requests whenever possible as recommended.
- _Currently_, only `json` format supported.
- POST requests whenever possible as recommended.
- _Currently_, only JSON format is supported.
- When applicable, `species` field is mandatory.
- Use a custom `stringx.Client()` if you plan to make multiple calls or need to target a previous API version.

```python
import stringx

with stringx.Client(base_url="https://version-11-0.string-db.org") as db:
# remember to disambiguate identifiers first if needed
network_1 = db.network(identifiers_1, species=7227)
Expand Down

0 comments on commit 7faf313

Please sign in to comment.