-
Notifications
You must be signed in to change notification settings - Fork 296
Can’t find docs, examples, source nor tests for .cat() #325
Comments
Reported this due to #323 |
js-ipfs-api is defined by https://github.com/ipfs/interface-ipfs-core. We need to make this more visible though |
@haadcode see now: On:
They have been organized by API - https://github.com/ipfs/interface-ipfs-core/tree/master/src |
Would agree that it is improved now? Any suggestions to make it better? |
It's better.
How about just a direct link to the API docs? "API documenationtion here". (update that link to actually contain the API docs, not only in the ToC). Or:
The confusing part here is that the tests are in |
This would not be true, since js-ipfs-api has a constructor specific API (passing the url of the http-api), and there are extra functions (.util.) Answered about |
What's there now is not clear is what I'm saying. What's the API? What are the functions I can use? Those are the questions that part in the README should answer. |
@diasdavid I'm just getting back after a year or so to IPFS and find this JS API pretty much not usable because I cannot find a simple example of |
@SCBuergel the feedback is really appreciated, in fact, that is something we want to focus more time in Q4, as the ROADMAP suggests. Nevertheless, you should be able to find an example in this repo, here, and the API documentation for files here -- https://github.com/ipfs/interface-ipfs-core/tree/master/API/files -- |
In fairness I'm a very lazy and not very well-versed JS developer. Hence I did not come across streams before - and in my defense it is not mentioned in the readme that you are actually working with native JS streams. Since I guess I am not alone I'd suggest:
just printed me that monstrous stream object which contained almost the entire Encyclopedia Galactica but not the actual data behind the hash. I eventually found the obvious
|
We've improved documentation by providing:
@SCBuergel would you like to contribute to the documentation effort? |
Trying to use .cat() and hit some problems. Came over here to find API docs and usage example. However, I can't find any of them :/ The docs are... non-existent? The tests are in some other repo (and not following the general convention of command-per-file in test/ directory).
We need to pull all this together so that it's easy for anyone to come look for help: give them links to appropriate places right when they come in (README), make sure same conventions are followed in the repos for tests so that they're all in one place, make sure each feature that is fully supported by js-ipfs and js-ipfs-api is documented.
The text was updated successfully, but these errors were encountered: