isohuntto / openbay

Other
3.52k stars 902 forks source link

JSON/XML API #133

Open talzion12 opened 9 years ago

talzion12 commented 9 years ago

We should add a JSON/XML API to the website so that other applications can get results from openbay without needing to scrape HTML.

dud3 commented 9 years ago

+1

On Fri, Jan 9, 2015 at 1:31 PM, Tal Zion notifications@github.com wrote:

We should add a JSON/XML API to the website so that other applications can get results from openbay without needing to scrape HTML.

— Reply to this email directly or view it on GitHub https://github.com/isohuntto/openbay/issues/133.

alxhotel commented 9 years ago

@meta221 It's called databse -.-

talzion12 commented 9 years ago

@alxhotel So we should add a database? What do you mean?

alxhotel commented 9 years ago

@meta221 I mean OpenBay has a database that you can use to save all the torrents:

"db": { "host": "46.28.69.238", "port": "443", "name": "opb", "user": "openpiratebay", "password": "046b3SVJN9TlG5X58z4lMTNxI" },

Or you could download its dump from this torrent: http://openbay.isohunt.to/files/openbay-db-dump.torrent

talzion12 commented 9 years ago

@alxhotel That's great but I'm looking for a free text search API over HTTP as is provided by the website, only in a simpler to consume format than HTML. In my app I'm trying to add torrent search functionality, and so I need access to search results from openbay. I could connect to the DB and perform searches on it, but then I lose the search engine capabilities of openbay which I believe is using Sphinx. Also JSON/XML over HTTP is sort of a standard for getting information from web services.

dud3 commented 9 years ago

@alxhotel, @meta221 mans similar to what fenopy had once upon a time.

alxhotel commented 9 years ago

@meta221 @dud3 we should totally make that API then. I'm totally in :)

cerealkill commented 9 years ago

@meta221 @alxhotel @dud3 Count me in too. JSON plz.

abreksa4 commented 9 years ago

+1

Check out the feature request here: https://openbay.uservoice.com/forums/279139-ideas/suggestions/7018082-develop-an-api

dud3 commented 9 years ago

Did anyone start working on this one ?