1.0.6 • Published 3 years ago

hastebin-api v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Hastebin-API

Lightweight Typescript API for https://github.com/urento/Hastebin

createHaste

  • Send a Request to the API and Create a new haste
  • @param hostname: web address from the api server
  • @param content: content that should be displayed in the haste
  • @returns response from server as json object

getHaste

  • Get the Content (and other data) from the Haste
  • @param hostname: web address from the api server
  • @param id: id from the haste
  • @returns: response from server as json object

Todo

  • Add Constructor or something to make functions get rid of setting the hostname every time
  • Add Tests
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago