Top 6 Crypto [API]

License Latest Stable Version Total Downloads

A Flarum extension. Shows top 6 crypto currencies details on Flarum.
I've developed an API in node JS that return real-time details for top 100 crypto currencies, this one will show the first six into Flarum.

Immagine 2021-11-15 230907

Usage

To get your api key simply go to: https://rapidapi.com/justoverclockl/api/top-100-crypto-currency-data-and-chart/ and select your plan (free for 100 request/month)

Installation

Install with composer:

composer require justoverclock/top-crypto-currencies:"*"

Updating

composer update justoverclock/top-crypto-currencies:"*"
php flarum cache:clear

Links

    The only limitation is the rate limited 50 calls per minute (that is way better than the 100 per month limit of rapidapi) you don't have limited data compared to other plans; keep in mind that if you are doing a custom API you should also keep it updated to make it usable (because an API that show you data not updated is basically worthless).

    BTW, be really careful with the data that you are providing because it can be considered investment advice and give you legal trouble, if you really want to mantain this addon I will suggest to use an external API provider to avoid any trouble (they are big so leave the legal trouble to them in case), if you just want to practice with node IMO it is better if you try to play with safer datasets.

      wonderbeel my api key shows real time data of crypto currencies (unless there's a bug but i think not), if you test the api endpoint on rapidapi you can see the real time results

        Fealist I don't have personal experience using them as an API provider but their charting library is one of the best to show financial data so I will assume that their API endpoint is at least reliable.

        Justoverclock You mean the update of the dataset? It depends on how you are providing your data, if you are basically proxing the data of another API endpoint you aren't really realtime but it is still good enough for an addon.
        My suggestion of not providing an API endpoint was more of a legal consideration than a technical one TBH, it can be dangerous to provide financial data without the correct legal knowledge so to be 100% safe I would suggest to just be an API consumer instead of also a provider, I don't think that is worth risking legal repercussions for a forum addon.

        23 days later
        7 days later