Socket
Book a DemoInstallSign in
Socket

ghostfolio-api-1

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ghostfolio-api-1

nodejs api for ghostfolio

1.0.0
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Ghostfolio API

:point_right: Node.js/Typescript library to import datas throught Ghostfolio. :point_left:

Percentage of issues still open GitHub license npm version npm size npm downloads GitHub contributors last commit

:package: Install

yarn add ghostfolio-api

:wrench: Build

yarn build

:open_book: Examples

const ghost = GhostfolioApi('access-token');

const requestBody: ImportRequestBody = {
  activities: [
    {
      currency: 'USD',
      dataSource: 'YAHOO',
      date: '2021-09-15T00:00:00.000Z',
      fee: 19,
      quantity: 5,
      symbol: 'MSFT',
      type: 'BUY',
      unitPrice: 298.58,
    },
  ],
};

await ghost.importData(requestBody);

:test_tube: Tests

yarn test    # to be implemented

:wave: Contributions & Pull Requests

Contributions are encouraged, I will review any incoming pull requests. Be sur to run yarn test to run all tests, yarn lint to run eslint and yarn prettier to run the prettier.

:warning: Disclamer

This is an unofficial NodeJS API wrapper for the Ghostfolio application, use at your own risk.

FAQs

Package last updated on 23 Jul 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.