diff --git a/controller/Controller.class.php b/controller/Controller.class.php index cfff2bd7..023f059a 100644 --- a/controller/Controller.class.php +++ b/controller/Controller.class.php @@ -127,6 +127,7 @@ class Controller '/deck.pdf' => 'https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1', '/pln.pdf' => 'https://www.dropbox.com/s/uevjrwnyr672clj/lbry-pln.pdf?dl=1', '/plan.pdf' => 'https://www.dropbox.com/s/uevjrwnyr672clj/lbry-pln.pdf?dl=1', + '/api' => 'http://lbryio.github.io/lbry' ]; diff --git a/view/template/developer/_quickstartApi.php b/view/template/developer/_quickstartApi.php index 0e2d4477..f1782e72 100644 --- a/view/template/developer/_quickstartApi.php +++ b/view/template/developer/_quickstartApi.php @@ -29,7 +29,7 @@

Now let's download it. This time we're going to call the method get with the same parameters.

$curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"what"} }' ["d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"] -

The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. View the full API documentation.

+

The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. View the full API documentation.

You can also list all of the commands available by calling the help command.

$curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}' \ No newline at end of file diff --git a/view/template/developer/_quickstartCredits.php b/view/template/developer/_quickstartCredits.php index f2575aa5..115f4667 100644 --- a/view/template/developer/_quickstartCredits.php +++ b/view/template/developer/_quickstartCredits.php @@ -13,13 +13,16 @@ $curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_balance"}' [50.00000000]

Publishing

+
+ The credit reward for this portion of the guide does not work yet. It will be added shortly. However, you can still follow this section to learn how to publish. +

Publishing to LBRY is just as easy as everything else! If you publish something, we'll send you an additional 200 LBC for further use.

Not sure what to publish? We recommend your favorite picture or home video. Or just grab something from here.

$curl 'http://localhost:5279/lbryapi' --data '{"method":"publish", "params": { "name": "electricsheep", "file_path": "\\home\kauffj\\Desktop\\electric-sheep.mp4", "bid": 1, - "metadata": {"what goes here": "who knows if you do not work for LBRY, certainly you will not be able to figure it out from response messages or API docs" + "metadata": { } //this should match the metadata returned by resolve_name }}' [whatever this response looks like]
@@ -27,8 +30,11 @@ 'returnUrl' => Request::getRelativeUri() . '#new-developer' ]) ?>
+

Enjoy a Hollywood Film

+$curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"itsadisaster"} }' +["d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"]

Try the UI

-

LBRY comes with a UI so that normal people can use it to. You can download it here.

+

LBRY comes with a UI so that normal people can use it too. You can download it here.

You Did It! What's Next?

Start building something awesome! LBRY works as a discovery and distribution backend for everything from films to CAD files. diff --git a/web/img/lbry-white-logo-only.svg b/web/img/lbry-white-logo-only.svg new file mode 100644 index 00000000..9f2352f9 --- /dev/null +++ b/web/img/lbry-white-logo-only.svg @@ -0,0 +1,79 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + +