api-rxjs

Typescript module I created to handle API request commonly used by me in dealing with APIs. Handles things like rate limiting

Usage no npm install needed!

<script type="module">
  import apiRxjs from 'https://cdn.skypack.dev/api-rxjs';
</script>

README

api-rxjs

Typescript I created to handle API request commonly used by me in dealing with APIs. Handles things like rate limiting.

Table of Contents

Install

Install using npm:

npm install api-rxjs -save

Basics

It is recommended that you import the API class and extend it. The code below makes a class that make a fake API call to http://jsonplaceholder.typicode.com/. Node package is can be found at https://github.com/mzelmanovich/api-rxjs-sample.


ToDo:

  • Handle other HTTP methods beside get requests