mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
more fixes
This commit is contained in:
parent
ba2c62e91e
commit
8b83a95441
4 changed files with 89 additions and 3 deletions
|
@ -127,6 +127,7 @@ class Controller
|
||||||
'/deck.pdf' => 'https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1',
|
'/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',
|
'/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',
|
'/plan.pdf' => 'https://www.dropbox.com/s/uevjrwnyr672clj/lbry-pln.pdf?dl=1',
|
||||||
|
'/api' => 'http://lbryio.github.io/lbry'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<p>Now let's download it. This time we're going to call the method <code class="code-inline">get</code> with the same parameters.</p>
|
<p>Now let's download it. This time we're going to call the method <code class="code-inline">get</code> with the same parameters.</p>
|
||||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"what"} }'
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"what"} }'
|
||||||
<span class="code-bash__response">["d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"]</span></code>
|
<span class="code-bash__response">["d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"]</span></code>
|
||||||
<p>The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. <a class="link-primary" href="http://lbryio.github.io/lbry/api/">View the full API documentation</a>.</p>
|
<p>The LBRY API consists about 50 calls, all related to discovering, distributing, and purchasing content. <a class="link-primary" href="/api">View the full API documentation</a>.</p>
|
||||||
<p>You can also list all of the commands available by calling the <span class="code-plan">help</span> command.</p>
|
<p>You can also list all of the commands available by calling the <span class="code-plan">help</span> command.</p>
|
||||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}'
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}'
|
||||||
</code>
|
</code>
|
|
@ -13,13 +13,16 @@
|
||||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_balance"}'
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_balance"}'
|
||||||
<span class="code-bash__response">[50.00000000]</span></code>
|
<span class="code-bash__response">[50.00000000]</span></code>
|
||||||
<h3 id="publish">Publishing</h3>
|
<h3 id="publish">Publishing</h3>
|
||||||
|
<div class="notice notice-info spacer1">
|
||||||
|
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.
|
||||||
|
</div>
|
||||||
<p>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.</p>
|
<p>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.</p>
|
||||||
<p>Not sure what to publish? We recommend your favorite picture or home video. Or just grab something from <a class="link-primary" href="https://archive.org/details/movies">here</a>.</p>
|
<p>Not sure what to publish? We recommend your favorite picture or home video. Or just grab something from <a class="link-primary" href="https://archive.org/details/movies">here</a>.</p>
|
||||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"publish", "params": {
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"publish", "params": {
|
||||||
"name": "electricsheep",
|
"name": "electricsheep",
|
||||||
"file_path": "\\home\kauffj\\Desktop\\electric-sheep.mp4",
|
"file_path": "\\home\kauffj\\Desktop\\electric-sheep.mp4",
|
||||||
"bid": 1,
|
"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": { } <span class="code-bash__comment">//this should match the metadata returned by resolve_name </span>
|
||||||
}}'
|
}}'
|
||||||
<span class="code-bash__response">[whatever this response looks like]</span></code>
|
<span class="code-bash__response">[whatever this response looks like]</span></code>
|
||||||
<div class="quickstart__claim-form content-light content" id="new-publish">
|
<div class="quickstart__claim-form content-light content" id="new-publish">
|
||||||
|
@ -27,8 +30,11 @@
|
||||||
'returnUrl' => Request::getRelativeUri() . '#new-developer'
|
'returnUrl' => Request::getRelativeUri() . '#new-developer'
|
||||||
]) ?>
|
]) ?>
|
||||||
</div>
|
</div>
|
||||||
|
<h3>Enjoy a Hollywood Film</h3>
|
||||||
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"itsadisaster"} }'
|
||||||
|
<span class="code-bash__response">["d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"]</span></code>
|
||||||
<h3>Try the UI</h3>
|
<h3>Try the UI</h3>
|
||||||
<p>LBRY comes with a UI so that normal people can use it to. You can download it <a href="https://lbry.io/get" class="link-primary">here</a>.</p>
|
<p>LBRY comes with a UI so that normal people can use it too. You can download it <a href="https://lbry.io/get" class="link-primary">here</a>.</p>
|
||||||
<h3 id="community">You Did It! What's Next?</h3>
|
<h3 id="community">You Did It! What's Next?</h3>
|
||||||
<p>
|
<p>
|
||||||
Start building something awesome! LBRY works as a discovery and distribution backend for everything from films to CAD files.
|
Start building something awesome! LBRY works as a discovery and distribution backend for everything from films to CAD files.
|
||||||
|
|
79
web/img/lbry-white-logo-only.svg
Normal file
79
web/img/lbry-white-logo-only.svg
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="80.207558mm"
|
||||||
|
height="58.081333mm"
|
||||||
|
viewBox="0 0 284.20001 205.8"
|
||||||
|
id="svg3479"
|
||||||
|
version="1.1"
|
||||||
|
inkscape:version="0.91 r13725"
|
||||||
|
sodipodi:docname="lbry-white-logo-only.svg">
|
||||||
|
<defs
|
||||||
|
id="defs3481" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="0.35"
|
||||||
|
inkscape:cx="-470.0429"
|
||||||
|
inkscape:cy="-5.6714247"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1056"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="24"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0" />
|
||||||
|
<metadata
|
||||||
|
id="metadata3484">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(-363.61433,-320.89078)">
|
||||||
|
<g
|
||||||
|
id="g3396"
|
||||||
|
transform="translate(363.61433,320.89078)">
|
||||||
|
<g
|
||||||
|
id="g3398">
|
||||||
|
<polygon
|
||||||
|
style="fill:#ffffff"
|
||||||
|
points="138.8,155.2 271,74 271,68.2 146.2,8 7,94.1 7,132.6 138.8,197.8 276.4,113.4 280.3,119.4 139.2,205.8 0,137 0,90.2 145.8,0 278,63.8 278,77.9 139.2,163.2 34.6,111.9 34.8,104 "
|
||||||
|
id="polygon3400" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g3402">
|
||||||
|
<polygon
|
||||||
|
style="fill:#ffffff"
|
||||||
|
points="276.5,128.5 278.5,115.9 266.3,113.8 267.1,108.9 284.2,111.8 281.4,129.3 "
|
||||||
|
id="polygon3404" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
Loading…
Add table
Reference in a new issue