Two exciting Revit API related news announcements from Ehsan Iran-Nejad and Gui Talarico:
- New comprehensive pyRevit home page
- ApiDocs.co code search sample collection
Gui @gtalarico Talarico, the author of both the online Revit API documentation revitapidocs.com and the more general Apidocs.co covering Grasshopper, Navisworks and Rhino as well, announced an expanded search functionality in the latter that provides code samples directly within its pages by searching a whole collection of samples hosted in the new ApiDocs.co code search sample repository.
Apidocs.co uses the GitHub Code Search API against this repo to provide Code Samples directly within pages.
Because the GitHub Code Search API is limited to a single user or repo, this repository aggregates multiple relevant repos so they can all be searchable in a single request.
- It's plain text search – some generic names like
Applicationcan trigger many false positives
- It's limited to certain entity types (e.g.,
- Fork this repo
- Add a relevant repo to
- Send a Pull Request
Answer: Users can use whichever they prefer. While revitapidocs will likely continue to get new API versions, it will not get new features – the code base has not aged well and adding new features to it is no fun.