⚡
Fluxpoint API
WebsiteDiscord Server
  • â„šī¸Information
  • 📋Changelogs
  • Reviews
  • đŸ“ĻLibrary
    • #ī¸âƒŖC#
    • ☕JavaScript
    • đŸ‘ģBotGhost
    • 💡Http Example
  • ⚡Client
    • 🧰Lib Developers
    • đŸ“ĻResponses
    • âš ī¸Error Codes
  • 🔗Endpoints
    • Test
    • Misc
    • Utility
    • Color
    • Convert
    • List
    • Image Gen
      • Templates
      • Custom Image
    • Minecraft
    • Sfw Anime Images
    • Sfw Anime Gifs
    • Meme Images
    • Animal Images
    • Nsfw
      • Nsfw Anime Images
      • Nsfw Anime Gifs
Powered by GitBook
On this page
  • Info
  • Download
  • Example
  1. Library

JavaScript

Use our JavaScript API library to use the Fluxpoint API with easy to use features and functions for your own bots/projects.

PreviousC#NextBotGhost

Last updated 2 years ago

Info

This library was made by JDev and is available on NPM and GitHub.

Download

Install the package in your project using node package manager or github.

NPM: GitHub:

Example

Here is an example on how to use the library.

const { FluxpointClient } = require("fluxpoint-js");
const client = new FluxpointClient({
  token: "token",
});

// You can use the library functions or make a custom endpoint request
client.sfw.image.getNeko()

const main = async () => {
  await client.request.req({
    // IMG (gallery.fluxpoint.dev) | API (api.fluxpoint.dev)
    type: "API",
    method: "GET",
    endpoint: "/me",
    // optional if data is needed
    data: null
  })
};
main();
đŸ“Ļ
☕
https://www.npmjs.com/package/fluxpoint-js
https://github.com/FluxpointDev/fluxpoint-js