1.0.2 • Published 3 years ago

foap v1.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

Foap API

FOAP

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@example.com","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

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago