Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hdosprazeres authored Aug 29, 2024
1 parent acfa462 commit cae3af8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,6 @@ Sample usage of DINA_API_CLIENT:
(.venv) C:\Users\<your_account>\dina-py> python .\dinapy\client\dina_api_client.py -upload_file '<object_upload_dir>/<file_name>'
```

## How to extend functionality

* To extend functionality, create subclasses from DinaAPI and extend the base_url attribute with the full URL for the API call required
* Then create new methods for GET, POST, PATCH, etc. and use the base DinaAPI request functions.
* Have the methods return objects of the entity class in the future
* Create a Schema using Marshmallow JSON-API for the entity and use it for serialization and deserialization.
* Try to create tests.

## Example API Usage

In code:
Expand Down

0 comments on commit cae3af8

Please sign in to comment.