pgx-sdk
v0.1.1
Published
A library for interacting with Pegaxy APIs and relevant third-party services
Downloads
0
Readme
Pegaxy SDK
A library for interacting with Pegaxy APIs and relevant third-party services
🎉 Features
This library is provided with the express purpose of making development of amazing third-party tools and services as simple as possible.
The following will be available in the completed library:
- Access to ALL Apollo API endpoints in a programatic manner
- Type definitions for all request and response objects from Apollo
- Access to third-party APIs for useful data:
- Token prices/statistics
- Transaction history
- etc.
- React components that can be extended for future integration with developer dashboards
⚙ Install
# npm
npm i pgx-sdk
# yarn
yarn add pgx-sdk
🔍 Usage
Javascript:
const { ApolloAPI } = require("pgx-sdk")
ApolloAPI.getAssetsTotal().then(console.log)
TypeScript:
import { ApolloAPI } from "pgx-sdk"
ApolloAPI.getAssetsTotal().then(console.log)
️❤️ Contributing
We are open to contributions from our excellent community!
If you feel that something can be improved or should be fixed, feel free to open an issue with the feature or the bug found.
If you want to fork and open a pull request (adding features or fixes), feel free to do it. Remember only to use the dev
branch as a base.
Read the contributing guidelines
📃 Licence
This library is provided under the License and Terms of Service outlined at pegaxy.io