Equibles Stocks - JavaScript client

Overview

Equibles Stocks - JavaScript client

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install equibles_stocks --save

git

If the library is hosted at a git repository, e.g. https://github.com/equibles/stocks-javascript then install it via:

    npm install equibles/stocks-javascript --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var EquiblesStocks = require('equibles_stocks');
var defaultClient = EquiblesStocks.ApiClient.instance;

// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix['Authorization'] = "Token"

// Configure API key authorization: Query String
var Query String = defaultClient.authentications['Query String'];
Query String.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Query String.apiKeyPrefix['ApiKey'] = "Token"

var api = new EquiblesStocks.ExchangesApi()
api.currencies().then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to https://api.equibles.com

Class Method HTTP request Description
EquiblesStocks.ExchangesApi currencies GET /stocks/exchanges/currencies Get the list of all the currencies supported by this API.
EquiblesStocks.ExchangesApi list GET /stocks/exchanges/list Get the list of all the exchanges supported by this API.
EquiblesStocks.ExchangesApi stocks GET /stocks/exchanges/stocks Get all the stocks for a given exchange.
EquiblesStocks.FundamentalsApi dividends GET /stocks/fundamentals/dividends Get the dividends for a given stock.
EquiblesStocks.FundamentalsApi financialReports GET /stocks/fundamentals/financialreports Get the financial statements for a given stock.
EquiblesStocks.MetricsApi priceToEarnings GET /stocks/metrics/pricetoearnings Get the price to earnings ratio over time for this stock.
EquiblesStocks.NewsApi list GET /stocks/news/list Get the latest news for this stock.
EquiblesStocks.NewsApi publishers GET /stocks/news/publishers Get all the available news publishers.
EquiblesStocks.PerformanceApi list GET /stocks/performance/list Lists the performance for a given stock.
EquiblesStocks.PricesApi endOfDay GET /stocks/prices/endofday Lists the end of day prices for a given stock.
EquiblesStocks.SectorsApi list GET /stocks/sectors/list Lists all the sectors.
EquiblesStocks.SectorsApi searchStocks GET /stocks/sectors/searchstocks Lists and the stock in a given sector/industry.
EquiblesStocks.StocksApi list GET /stocks/list Get a list of all the available stocks.
EquiblesStocks.StocksApi officers GET /stocks/officers Get the officers of the company.
EquiblesStocks.StocksApi profile GET /stocks/profile The profile of this stock.
EquiblesStocks.StocksApi search GET /stocks/search Search among all the available stocks.
EquiblesStocks.StocksApi splits GET /stocks/splits Get all the splits for a given stock.
EquiblesStocks.TransactionsApi insiders GET /stocks/transactions/insiders Lists the insider transactions for a given stock.
EquiblesStocks.TransactionsApi institutional GET /stocks/transactions/institutional Lists the institutional transactions for a given stock.

Documentation for Models

Documentation for Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Query String

  • Type: API key
  • API key parameter name: ApiKey
  • Location: URL query string
You might also like...

A library for controlling the Minecraft Console Client and making bots for it in JavaScript/TypeScript.

MCC.jS About A work in progress JavaScript/TypeScript library for remote control and bot creation for the Minecraft Console Client using RPC over WebS

Sep 14, 2022

Fastest JavaScript client for MySQL, with Deno FFI.

Fastest JavaScript client for MySQL, with Deno FFI.

mysql-native The fastest [1] JavaScript MySQL client. import { Connection } from "https://deno.land/x/mysql_native/mod.ts"; const conn = new Connectio

Sep 27, 2022

Fnon is a client-side JavaScript library for models, loading indicators, notifications, and alerts which makes your web projects much better.

𝔉𝔫𝔬𝔫 Fnon is the name of my late mother, It's an Arabic word which means Art, I created this library in honor of her name. Fnon is a client-side J

Sep 11, 2022

Automatically generated documentation for the Valorant API endpoints the client uses internally.

Valorant API Docs To read documentation and get started, see Docs This is a project designed to automatically document Valorant endpoints based on a J

Dec 25, 2022

Client-Side Prototype Pollution Tools

Client-Side Prototype Pollution Tools

Client-Side Prototype Pollution Tools Match rules for Burp Software Version Reporter extension Match rules that passively detect vulnerable libraries

Oct 4, 2022

client-side prototype pullution vulnerability scanner

client-side prototype pullution vulnerability scanner

JSPanda JSpanda is client-side prototype pollution vulnerability scanner. It has two key features, scanning vulnerability the supplied URLs and analyz

Dec 25, 2022

Front-end telkom-juara pwa client

TelkomJuara This project was generated with Angular CLI version 12.2.4. Development server Run ng serve for a dev server. Navigate to http://localhost

Dec 31, 2021

Free, open-source client or server-side APIs to "lint" user input.

passbird Free, open-source client or server-side APIs to lint user input. Right now, you can check type for an email address i.e., either of disposabl

Dec 26, 2021

Venni backend - The backend of the Venni client apps implementing the credit card payments, matching algorithms, bank transfers, trip rating system, and more.

Cloud Functions Description This repository contains the cloud functions used in the Firebase backend of the Venni apps. Local Development Setup For t

Jan 3, 2022
Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services.

Tidbyt Client for Node.js Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services. Insta

Nicholas Penree 19 Dec 17, 2022
A jQuery plugin for doing client-side translations in javascript.

About jQuery-i18n is a jQuery plugin for doing client-side translations in javascript. It is based heavily on javascript i18n that almost doesn't suck

Dave Perrett 202 May 19, 2021
Javascript client for Sanity. Works in node.js and modern browsers (older browsers needs a Promise polyfill).

@sanity/client Javascript client for Sanity. Works in node.js and modern browsers (older browsers needs a Promise polyfill). Requirements Sanity Clien

Sanity 23 Nov 29, 2022
JavaScript Client for the UXD Solana Program.

JavaScript Client for the UXD Solana Program Install npm install --save @uxd-protocol/uxd-client Usage About UXD on Solana Mainnet-Beta UXD Program:

UXDProtocol 16 Jan 3, 2023
Minecraft client written in Javascript

webmc About Webmc is minecraft client written in Javascript. From web browser this client connects to websocket proxy and then to real minecraft serve

Michał Jażdżyk 1.1k Jan 9, 2023
T3 is a client-side JavaScript framework for building large-scale web applications

Box has migrated using react, webpack, and the latest version of ECMAScript for our frontend projects as of 2018. We no longer support chan

Box 1.6k Dec 8, 2022
A Javascript library to export svg charts from the DOM and download them as an SVG file, PDF, or raster image (JPEG, PNG) format. Can be done all in client-side.

svg-exportJS An easy-to-use client-side Javascript library to export SVG graphics from web pages and download them as an SVG file, PDF, or raster imag

null 23 Oct 5, 2022
A vanilla javascript library to generate Avataaars on the client or server side!

Use the awesome Avataaars Library by Pablo Stanley (avataaars.com) in any javascript application. This Project uses parts of the Dicebear Avatars Libr

Hannes Bosch 26 Dec 4, 2022
JavaScript client-side HTML table sorting library with no dependencies required.

TABLE-SORT-JS. Description: A JavaScript client-side HTML table sorting library with no dependencies required. Demo Documentation. (work in progress)

Lee Wannacott 32 Dec 14, 2022
A Javascript library that discourages and prevents image theft/download by preventing client ability to retrieve the image.

ProtectImage.js ProtectImage.js is a Javascript library that helps prevent image theft by disabling traditional user interactions to download/copy ima

null 4 Aug 18, 2022