TorSpider / TorSpider-Backend

The database backend with which the spiders share their discoveries.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add API hooks for basic non-authenticated queries. #36

Open haxys opened 6 years ago

haxys commented 6 years ago

We've had requests for people to be able to request data through a non-authenticated API so that people can build chat bots or other services which pull from the database. It would be a good idea for these API hooks to pull from cached data rather than pull from the most current dataset, and they need not have access to all data, but when we implement search functionality, it would be good to expose a search api. Another use case would be for people to pull information about an onion address such as name, online status, page count, incoming and outgoing link count, and category.

haxys commented 6 years ago

This basic functionality is complete, as per the public_api pull request. Additional data can be added, such as page counts or other useful information, but as per this post, the public_api allows users to learn a little about an onion. For the base 1.0 release, this should be sufficient.