foap
v1.0.2
Published
Unofficial Foap API
Downloads
2
Readme
Foap API
Unofficial Foap API
Example
The Following Code snippet will help you understand how to use this.
var Foap = require("foap");
var foap = new Foap();
(async function() {
await foap.login("[email protected]","password");
// or
foap.addToken(token) // recommended
await foap.upload("path_to_image","caption",["tags"]);
// Upload An Image
await 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
Installation
Requirements
- Node.Js installed
Dev Dependencies
- Axios
- Form-Data
Credits
- FOAP For Creating an excellent Platform.
Contact
Contact me anywhere, just visit my portfolio
License
This project is licensed under MIT License, See LICENSE for more information