-
Notifications
You must be signed in to change notification settings - Fork 940
Conversation
Swift Docs SearchDescription: Swiftdocs uses http://api.swiftdoc.org to query for swift related answers Example Query: [swift foreach](https://beta.duckduckgo.com/?q=swift foreach) Tab Name: Source: http://api.swiftdoc.org These are the important fields from the IA page. Please check these for errors or missing information and update the IA page This is an automated message which will be updated as changes are made to the IA page |
Thank you, @soleo! Checking it out. 🙌 |
Ideally I should have used The issue is related with #2632 and I used the approach Spice Coderwall used. |
I'm not sure about this one yet--I'll look into it! |
@jagtalon looks like the API is much less mature than I originally thought. I saw some javascript snippets from their site. I might be able to use the same sorting method they used on https://swiftdoc.org to improve the result. |
@soleo thank you! Hit me up on slack if you need any help. |
@soleo thanks for all the work here! I'm closing this PR as it has gone stale and we decided on a different approach for Apple Swift/Obj-C results |
Description of changes
The purpose of this pull request is to use a Spice instead of Fathead to do swift related queries. The spice uses http://api.swiftdoc.org as the data source. If this IA turns out to be not good enough, we could consider using https://github.com/SwiftDocOrg/swiftdoc-parser to get a better result.
Which issues (if any) does this fix?
Fixes duckduckgo/zeroclickinfo-fathead#275
Fixes duckduckgo/zeroclickinfo-fathead#271
People to notify (@mention interested parties)
@jagtalon
IA Page: https://duck.co/ia/view/swift_docs_search
Forum Topic: https://forum.duckduckhack.com/t/create-swiftdoc-instant-answer/242
Maintainer: @jagtalon