from mergadoapiclient import client
# Prepare config with a OAuth2 credentials.
credentials = {
'client_id': '<client ID>',
'client_secret': '<client secret key>',
'grant_type': 'client_credentials',
'token_uri': 'https://app.mergado.com/oauth2/token/', # optional
'api_uri': 'https://api.mergado.com/', # optional
'storage_class': 'yourapp.models.TokenStorage', # optional
}
# Build API client instance.
api = client.build(credentials)
# Get an Eshop with ID = 1.
api.get('shops/1')
-
Notifications
You must be signed in to change notification settings - Fork 1
Mergado API Client for Python
License
mergado/mergado-api-client-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Mergado API Client for Python
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published