Skip to content

Reward Sciences Python SDK. Need help? Email us at support@rewardsciences.com

License

Notifications You must be signed in to change notification settings

rewardsciences/rewardsciences-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Rewardsciencesapilib

This API SDK was automatically generated by APIMATIC v2.0

This SDK uses the Requests library and will work for Python 2.7 — 3.5.

How to configure:

The generated code might need to be configured with your API credentials. To do that, open the file "Configuration.py" and edit its contents.

How to resolve dependencies:

The generated code uses Python packages named requests, jsonpickle and dateutil. You can resolve these dependencies using pip ( https://pip.pypa.io/en/stable/ ).

  1. From terminal/cmd navigate to the root directory of the SDK.
  2. Invoke 'pip install -r requirements.txt'

Note: You will need internet access for this step.

How to use:

After having resolved the dependencies, you can easily use the SDK following these steps.

  1. Create a "rewardsciencesapilib_test.py" file in the root directory.
  2. Use any controller as follows:
from __future__ import print_function
from rewardsciencesapilib.reward_sciences_api_client import *

api_client = RewardSciencesAPIClient()
controller = api_client.rewards
response = controller.redeem(<required parameters if any>)

print(response)

About

Reward Sciences Python SDK. Need help? Email us at support@rewardsciences.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages