Skip to content

GoPlan-Finance/eodhistoricaldata-openapi-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EOD Historical Data Javascript/Typescript API Client

Installation

 # (we will publish to NPM later this month)
 npm i goplan-finance/eodhistoricaldata-openapi-js

Example

Typescript is also fully supported, you will get full intellisense in both Javascript and Typescript.

import * as EODApi from 'eodhistoricaldata-openapi'

const config = new EODApi.Configuration({
    apiKey : 'xxxxxxxxxxx',
})

const exchangesApi = new EODApi.ExchangesApi(this.config)

const response = await exchangesApi.listEchanges()

console.log(`We received ${response.data.length} exchanges`)
for (const exchange of response.data) {

    console.log(`${asset.Code} ${asset.Name}   (${asset.Country}  $(asset.Currency}`)
    assets.push({
        currency : asset.Currency,
        code     : asset.Code,
        country  : asset.Country,
        name     : asset.Name,
      })
}    

Status

Issues & PRs

If you find an issue, or want to add a new endpoint, please submit them directly to https://github.com/GoPlan-Finance/eodhistoricaldata-openapi repository

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published