Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joonhocho/tsapis
Various cloud services API response types documented and written in TypeScript
https://github.com/joonhocho/tsapis
Last synced: about 1 month ago
JSON representation
Various cloud services API response types documented and written in TypeScript
- Host: GitHub
- URL: https://github.com/joonhocho/tsapis
- Owner: joonhocho
- License: mit
- Created: 2019-05-31T08:12:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:12:14.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T05:18:29.319Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 929 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tsapis
Various cloud services API response types documented and written in TypeScript.[![npm version](https://badge.fury.io/js/tsapis.svg)](https://badge.fury.io/js/tsapis)
[![npm](https://img.shields.io/npm/dw/tsapis.svg)](https://www.npmjs.com/package/tsapis)
![npm type definitions](https://img.shields.io/npm/types/tsapis.svg)
[![Build Status](https://travis-ci.org/joonhocho/tsapis.svg?branch=master)](https://travis-ci.org/joonhocho/tsapis)
[![Dependency Status](https://david-dm.org/joonhocho/tsapis.svg)](https://david-dm.org/joonhocho/tsapis)
[![GitHub](https://img.shields.io/github/license/joonhocho/tsapis.svg)](https://github.com/joonhocho/tsapis/blob/master/LICENSE)## Motivation
Many great cloud services APIs do not have their own npm repositories, or even if they do, many of them are missing types.
This package is here to help you.
You are welcome to help typing all the great cloud services out there!## Get Started
```
npm install -D tsapis
```
or
```
yarn add -D tsapis
```## How to Use
```typescript
import { IpwhoisResponse } from 'tsapis';// ...later in code
const res: IpwhoisResponse = await axios.get('http://free.ipwhois.io/json/1.1.1.1').data;
```## Supported Services
### IP Geolocation API:
- [ipwhois.io](https://ipwhois.io)
- [ipdata.co](https://ipdata.co)### User agent parsing service:
- [UserAgent.App](https://useragent.app/)## Contribute
Pull Requests are welcome!
Just try to be consistent with existing naming conventions and coding styles.
Names must be concise, easy to read, and precisely descriptive.
I've setup prettier, so make sure your codes are auto formatted according to my prettier setup.## License
[MIT License](https://github.com/joonhocho/tsapis/blob/master/LICENSE)