Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
rubik-odnoklassniki
Advanced tools
Odnoklassniki's Bot API kubik for the Rubik
npm i rubik-odnoklassniki
yarn add rubik-odnoklassniki
const { App, Kubiks } = require('rubik-main');
const Odnoklassniki = require('rubik-odnoklassniki');
const path = require('path');
// create rubik app
const app = new App();
// config need for most modules
const config = new Kubiks.Config(path.join(__dirname, './config/'));
const odnoklassniki = new Odnoklassniki();
app.add([ config, odnoklassniki ]);
app.up().
then(() => console.info('App started')).
catch(err => console.error(err));
odnoklassniki.js
config in configs volume may contain the host and token.
If you do not specify a host, then https://api.ok.ru/
will be used by default.
If you don't specify a token, you will need to pass it.
...
const response = await app.get('odnoklassniki').debugToken();
...
...
const response = await app.get('odnoklassniki').me.subscribedApps();
...
You may need the host option if for some reason Odnoklassniki host is not available from your server and you want to configure a proxy server.
For example:
config/odnoklassniki.js
module.exports = {
host: 'https://my.odnoklassniki.proxy.example.com/'
};
Odnoklassniki kubik doesn't has any extension.
FAQs
Odnoklassniki's Bot API kubik for the Rubik
The npm package rubik-odnoklassniki receives a total of 3 weekly downloads. As such, rubik-odnoklassniki popularity was classified as not popular.
We found that rubik-odnoklassniki demonstrated a not healthy version release cadence and project activity because the last version was released 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.