-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for custom Magnetico Sites #57
Comments
Is there a protocol, format, or any kind of standards transdeoid-search requires or is it simply fine with custom solutions? I'll probably implement a RESTful API with JSON formatted messages, but I'm open to suggestions for interoperability. =) |
No specific standard is required. Some use a json api (much preferred), some custom RSS feeds and some have to rely on html scraping. If you are yet to develop one, certainly go for a RESTful JSON API. Interesting project BTW! |
@boramalper , see at "OpenAPI Specification" for recommendations how write API easy to use for general API interoperability. |
Done xD Json-API with search and limit output (limit can be max. 100): Json-API latest 1000: Base-page search: Base-RSS: Base-RSS search: Base-RSS search with limits number of output: Basic magnet view: Basic magnet files view: Recently discovered files: Stats page: |
Just clicked on https://dht.bittor.ch/api?search=ubuntu&limit=3 but it doesn't seem to produce any valid JSON output though. |
Also, a sorting on at least the number of peers and/or availability would be good. The ubuntu search for example doesn't produce very useable results. |
I would definitely wait before using the API as it is not yet standardized across different magnetico web-interface implementations. I currently don't have time, but I'll discuss with @scriptzteam and possibly others to create a detailed specification of the API, which will ensure interoperability between different implementations. =) |
@erickok how not valid json ??
http://jsonlint.com/ ---> Results ---> Valid JSON Ubuntu search was just sample, you can always try https://dht.bittor.ch/api?search=rarbg ;) Not possible for now to sort it by peers/availability as magnetico does not support it now :) @boramalper will be more than happy to help on API :) |
Now it does but when I checked it didn't produce proper JSON. Maybe you were working on it? I'll wait a bit until a standardized and documented API is fleshed out, if you don't mind. |
Hey @erickok! I'd kindly suggest waiting for the v0.7.0 release before implementing it. In the meanwhile, any feedback would be greatly appreciated: boramalper/magnetico#162 |
Magnetico is an emerging project to essentially host your own torrent search engine
https://github.com/boramalper/magnetico
It would be useful to add my own (and maybe my friends) magnetico sites to transdroid so I could search and add the magnets to my torrent client from transdroid.
The text was updated successfully, but these errors were encountered: