pensionsmyndigheten-ppm

    0.0.4 • Public • Published

    Pensionsmyndigheten PPM JS (unofficial)

    Fetches some public PPM fund data from Pensionsmyndigheten.

    Usage

    npm i -s pensionsmyndigheten-ppm
    const { getQuotes, getProfiles, getProfilesExt } = require('pensionsmyndigheten-ppm')
    getQuotes()
      .then(console.log)
    
    // [
    //   {
    //     internalId: '295857',
    //     name: 'Skandia Time Global',
    //     buy: 64.67,
    //     sell: 4.66,
    //     createdAt: new Date(2019-05-14)
    //   },
    //   ...
    // ]
    

    Command line usage

    git clone git@github.com:finsyn/pensionsmyndigheten-js.git
    cd pensionsmyndigheten-js
    ./bin/demo --help

    Contributing

    There are some tests inplace using mock-data. You can run the test suite with npm test to verify they go through.

    Install

    npm i pensionsmyndigheten-ppm

    DownloadsWeekly Downloads

    6

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    639 kB

    Total Files

    15

    Last publish

    Collaborators

    • biggestt