Skip to content

Easy to use REST API for building agents and integrating and interacting with environment with any language.

Notifications You must be signed in to change notification settings

rewards-ai/rewards-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rewards API


rewards API is a REST API where creating experiments, integrating environments and building agents are just some sets of CRUD operations and API calls. Our API internally uses rewards-sdk.


How to run the project

First clone the project by running:

git clone https://github.com/rewards-ai/rewards-api.git

rewards-api runs on fastapi. So install fastapi by running:

pip install fastapi

Now for installing additional dependencies just run:

pip install -r requirements.txt

Now go to the rewards-api directory and run:

uvicorn main:app --reload

This will open the the link http://127.0.0.1:8000 and then go to http://127.0.0.1:8000/docs/. There you will find all the endpoints with it's instructions and curl commands after running each.

TODO:

  • Logging functionality
  • Support for custom exceptions
  • Supporting streaming the game screen
  • Integration with the frontend

About

Easy to use REST API for building agents and integrating and interacting with environment with any language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published