API - Converts direct links to torrents into magnet links
$ npm install
$ npm start
A local instance of magnetizer will be running at http://localhost:8080.
Returns the magnet URI and data for a torrent
- url β The full URL (including protocol) to a torrent file.
- magnetURI β The complete magnetURI of the torrent file.
- torrentData β The torrent data attainable from the torrent header.
- name β Name as specified by the torrent creator.
- created β The date the torrent was created in ISO 8601 format.
- comment β Comment as specified by the torrent creator.
- infoHash β The SHA1 hash sums of the torrent's meta files.
- announce β An array of URLs of all tracker announces for the torrent.
- files β An array containing all files and their paths in the torrent.
MIT Β© Matan Kushner