
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
funpay-js-api
Advanced tools
This is a Node.js API project designed to interact with the Funpay.com website. The API allows for seamless integration and communication with Funpay's services, making it easier to develop applications that rely on Funpay's features.
This is a Node.js API project designed to interact with the Funpay.com website. The API allows for seamless integration and communication with Funpay's services, making it easier to develop applications that rely on Funpay's features.
To install the necessary dependencies, run the following command:
npm install
check app.js
import { Api, Runner, Chat } from "./funpay_api/api.js";
const goldenkey = 'YOUR GOLDEN KEY FROM COOKIES';
class app {
constructor(){
Api.setConfig(goldenkey);
this.test()
}
async test(){
Runner.on('orders_counters', (data)=>{
console.log('updated order counter', data);
})
Runner.on('chat_counter', (data)=>{
console.log('updated chat counter', data);
})
let neworders = await Api.getNewOrders();
console.log('neworders', neworders);
let chat = new Chat(11936609, 1);
chat.on('message', (msg)=>{
console.log(msg);
});
}
}
new app();
After installing the dependencies, you can start using the API in your project. Make sure to review the code and customize any settings according to your needs.
This project was created by Aleksandr Iurov for https://buynstars.com.
FAQs
This is a Node.js API project designed to interact with the Funpay.com website. The API allows for seamless integration and communication with Funpay's services, making it easier to develop applications that rely on Funpay's features.
The npm package funpay-js-api receives a total of 4 weekly downloads. As such, funpay-js-api popularity was classified as not popular.
We found that funpay-js-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.