https://github.com/theabbie/foap
Unofficial Foap API
https://github.com/theabbie/foap
foap theabbie
Last synced: 7 months ago
JSON representation
Unofficial Foap API
- Host: GitHub
- URL: https://github.com/theabbie/foap
- Owner: theabbie
- License: mit
- Created: 2020-12-17T10:40:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T13:27:38.000Z (almost 5 years ago)
- Last Synced: 2025-03-19T14:01:56.203Z (7 months ago)
- Topics: foap, theabbie
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/foap
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Foap API

>**Unofficial Foap API**
## Example
The Following Code snippet will help you understand how to use this.
```js
var Foap = require("foap");
var foap = new Foap();(async function() {
await foap.login("email@example.com","password");
// or
foap.addToken(token) // recommendedawait foap.upload("path_to_image","caption",["tags"]);
// Upload An Imageawait foap.getRandom(n); // get n random posts
await foap.getProfile(id); // get Profile by ID
await foap.rate(image_id); // Rate an image
})();
```## Contributing
Thank you for your interest in contributing, If you feel like there's something missing or any new feature can be added, just create a PR and I will see the rest.
## Help
You can contact me on social media, Everything about me can be found [here](https://theabbie.github.io)
## Installation
### Requirements
* Node.Js installed
### Dev Dependencies
* Axios
* Form-Data## Credits
* [FOAP](https://foap.com) For Creating an excellent Platform.
## Contact
Contact me anywhere, just visit [my portfolio](https://theabbie.github.io)
## License
This project is licensed under MIT License, See [LICENSE](/LICENSE) for more information