Tiny Web API that provide product/library name for a URL.
This Web API using JSer.info Dataset.
- name: product name
- url: product url
- releaseNoteVersion: release note version if the target url is release note.
string | undefined
- releaseNoteProbability: Do this url have release notes?
- 0 - 1
Get Supported All products.
curl https://jser-product-name.deno.dev/
Get a product name for URL
curl https://jser-product-name.deno.dev/?url=${url}
$ curl https://jser-product-name.deno.dev/
[{"name":"jQuery Mobile","url":"http://jquerymobile.com"},{"name":"jQuery","url":"http://blog.jquery.com"},{"name":"Node","url":"http://blog.nodejs.org"},{"name":"Bootstrap","url":"http://blog.getbootstrap.com"}, ...]
$ curl "https://jser-product-name.deno.dev/?url=https://deno.com/blog/v1.19"
{"name":"Deno","url":"https://deno.com","releaseNoteProbability":0.7619047619047619,"releaseNoteVersion":"v1.19"}
No Data
$ curl "https://jser-product-name.deno.dev/?url=https://example.com"
null # status code is 400
make run
make test
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT