Output blockchain APIs in a format that can be used for documentation #131

Closed
opened 2018-04-30 21:51:31 +02:00 by kauffj · 9 comments
kauffj commented 2018-04-30 21:51:31 +02:00 (Migrated from github.com)

lbry.tech will be used to showcase the API signatures for the daemon, blockchain, and any other key components.

lbry.tech will be used to showcase the API signatures for the daemon, blockchain, and any other key components.
kauffj commented 2018-05-04 17:34:44 +02:00 (Migrated from github.com)

@lyoshenka did this get discussed on blockchain weekly?

@lyoshenka did this get discussed on blockchain weekly?
BrannonKing commented 2018-07-23 23:51:53 +02:00 (Migrated from github.com)

Waiting on #44

Waiting on #44
BrannonKing commented 2018-07-24 00:46:21 +02:00 (Migrated from github.com)

Is this a duplicate of #143 ?

Is this a duplicate of #143 ?
lyoshenka commented 2018-07-24 23:29:53 +02:00 (Migrated from github.com)

yes. ill close the other one.

yes. ill close the other one.
alyssaoc commented 2018-07-25 19:27:34 +02:00 (Migrated from github.com)

reference #1276 from protocol

reference #1276 from protocol
BrannonKing commented 2018-07-27 19:03:58 +02:00 (Migrated from github.com)

Also, see https://github.com/lbryio/lbry.tech/issues/42
and https://github.com/lbryio/lbry/blob/master/scripts/generate_json_api.py

I'm starting on this now and planning to pursue the jrgen plan.

Also, see https://github.com/lbryio/lbry.tech/issues/42 and https://github.com/lbryio/lbry/blob/master/scripts/generate_json_api.py I'm starting on this now and planning to pursue the jrgen plan.
rynomad commented 2018-08-02 03:01:40 +02:00 (Migrated from github.com)

@BrannonKing re: jrgen... if you'd like, take a look at this script I wrote for lbry-js; it's pretty barebones but generates a jrgen compatible schema file dynamically from the existing lbrycrd 'help' command.

@BrannonKing re: jrgen... if you'd like, take a look at [this script](https://github.com/rynomad/lbry-js/blob/master/scripts/jrgen_crd.js) I wrote for lbry-js; it's pretty barebones but generates a jrgen compatible schema file dynamically from the existing lbrycrd 'help' command.
BrannonKing commented 2018-08-02 16:56:59 +02:00 (Migrated from github.com)

@rynomad , thanks for posting that script. Unfortunately, my Python script was generally completed before I got this message yesterday. Hence, I think I'll proceed with my script.

I was unable to run your script. I'm not sure I followed your instructions correctly. npm --version reports 3.5.2. Do I need some other version? (There was no setup command on mine.)

@rynomad , thanks for posting that script. Unfortunately, my Python script was generally completed before I got this message yesterday. Hence, I think I'll proceed with my script. I was unable to run your script. I'm not sure I followed your instructions correctly. `npm --version` reports 3.5.2. Do I need some other version? (There was no `setup` command on mine.)
rynomad commented 2018-08-02 23:19:43 +02:00 (Migrated from github.com)

Ah, my bad, I had local changes days ago I had forgotten to push, should be good to go; also i fixed the readme; it's supposed to say npm run setup

Ah, my bad, I had local changes days ago I had forgotten to push, should be good to go; also i fixed the readme; it's supposed to say `npm run setup`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#131
No description provided.