- 
                Notifications
    
You must be signed in to change notification settings  - Fork 14
 
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps updif/trivialCan be confidently tackled by newcomersCan be confidently tackled by newcomersgood first issueGood issue for new contributorsGood issue for new contributorshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurekind/supportThis is a question or a request for supportThis is a question or a request for supportstatus/readyReady to be workedReady to be workedtopic/docsImprovements or additions to documentationImprovements or additions to documentation
Description
Have looked for examples and code snippets but can't figure out how to programmatically retrieve data from IPFS using .get methods. Have had to revert to HTTP fetch with node-fetch or axios instead.
E.g.
import { create } from 'kubo-rpc-client'
var { cid } = await client.add('Hello world!')
// undefined
await client.get( cid  )
// Object [AsyncGenerator] {}These methods would seem to be in the RPC but am I just using them incorrectly?
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps updif/trivialCan be confidently tackled by newcomersCan be confidently tackled by newcomersgood first issueGood issue for new contributorsGood issue for new contributorshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurekind/supportThis is a question or a request for supportThis is a question or a request for supportstatus/readyReady to be workedReady to be workedtopic/docsImprovements or additions to documentationImprovements or additions to documentation