Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twentytwo777/funpay-api
📒 API for FunPay
https://github.com/twentytwo777/funpay-api
funpay libary typescript
Last synced: 3 months ago
JSON representation
📒 API for FunPay
- Host: GitHub
- URL: https://github.com/twentytwo777/funpay-api
- Owner: twentytwo777
- License: mit
- Created: 2023-08-22T09:06:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-22T12:58:57.000Z (over 1 year ago)
- Last Synced: 2023-08-22T14:18:28.828Z (over 1 year ago)
- Topics: funpay, libary, typescript
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FUNPAY-API | [FunPay](https://funpay.com/) API
## Installation
```bash
npm i funpay-api
```
## Usage
```ts
import FunPayAPI from 'funpay-api';const API = new FunPayAPI('YOUR_GOLDEN_KEY');
const profile = await API.Profile.getProfile();console.log(`ID ${profile.id}`);
console.log(`NAME ${profile.name}`);
console.log(`AvatarPhoto ${profile.avatarPhoto}`);
console.log(`Rating ${profile.rating}`);
console.log(`Total Reviews ${profile.totalReviews}`);
console.log(`Link ${profile.totalReviews}`);
```# Output
```
-> % npm start
ID 6213754
NAME twentytwo777
AvatarPhoto https://s.funpay.com/s/avatar/hw/lu/hwlu87y7ya5n1lao0p7v.jpg
Rating 0
Total Reviews 0
Link https://funpay.com/users/6213754/
```## Some info
At the moment, the library is under development, so not all methods available in the FUNPAY-API.The library documentation is also under development, but you can always participate in its development by simply creating a PR with documentation for the method.