Closed dorvak closed 5 years ago
Implemented a simple, tool-tip based API-Documentation for the Twitter-Tab based on a json-document with the API-Descriptions, parsed from the twitter API-Documentantion. Displaying the Information in a another widget might be a better solution than a tooltip. Just a quick idea so far ..
Very cool!
I'll inbclude more options and automated parameter-suggestion in the future. See https://github.com/fsharp/FSharp.Data/issues/94 for API-Doc-Services which provide structured API-Info. quite cool!
Patterns-suggestions are implemented for Twitter (needs optimazitation and error checking, but works so far)
ToolTips for the dict/JSON-Viewer Keys based on https://dev.twitter.com/docs/platform-objects (or the respective Facebook-API-Documention:
I think we should use swagger (or similar) for this feature, see http://nordicapis.com/top-specification-formats-for-rest-apis/
What I don't know: is there a repository of swagger descriptions of twitter/facebook etc. apis?
Well, there is a repo: https://github.com/api-stack/api-stack
I used swagger in a couple of projects, really advise to use swagger. Afaik there is no swaggerfile for FB or twitter
Migrated from our proprietary format to OpenAPI / Swagger. In addition, there is a window to show the API reference. For now we have only incomplete OpenAPI files in the master branch (only one example for Facebook). I will extend this in the next weeks.
I close this issue, feature is ready in the latest pre-release (version 4.0.0).
So wie hier könnte man die API-Dokumente automatisch in die Tabs einbauen und mögliche Parameter direkt mitliefern. Entweder man benutzt der JSON-Datei im Hintergrund oder man parsed direkt aus der API-Dokumentation. Müsste man für Facebook analog machen. Wenn man einen Parser baut, dann sogar direkt als eigenes kleines Guthub-Projekt: "Faceparser" :D
Gibt es eine API für API-Dokumentationen?