Skip to content

Commit adb0dcb

Browse files
committed
Updated documentation and fixed donation amounts
1 parent 190bf02 commit adb0dcb

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

views/pages/documentation.ejs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ http://api.randomuser.me/<span>?seed=foobar</span>
141141
<p>We currently offer the following data formats:
142142
<ul>
143143
<li>JSON (default)</li>
144-
<li>Pretty JSON - human readable JSON</li>
144+
<li>PrettyJSON or pretty</li>
145145
<li>CSV</li>
146146
<li>YAML</li>
147147
<li>XML</li>
@@ -208,7 +208,7 @@ http://api.randomuser.me/<span>?page=3&results=10&seed=abc</span>
208208
<li>picture</li>
209209
<li>nat</li>
210210
</ul>
211-
<p>If you only wanted the names,genders,and nats or users:</p>
211+
<p>If you only wanted the names,genders,and nats of users:</p>
212212
<pre>
213213
http://api.randomuser.me/<span>?inc=gender,name,nat</span>
214214
</pre>
@@ -223,7 +223,13 @@ http://api.randomuser.me/<span>?exc=login</span>
223223
<p>Some extra parameters that you can add to a request.</p>
224224
<ul>
225225
<li><b>dl</b> - Download the results with the appropriate format extension.</li>
226+
<pre>
227+
http://api.randomuser.me/?results=25&nat=gb,us,es&fmt=csv&<span>dl</span>
228+
</pre>
226229
<li><b>noinfo</b> - If you only want the data, and don't care for seed, results, page, and version data.</li>
230+
<pre>
231+
http://api.randomuser.me/?results=5&inc=name,gender,nat&<span>noinfo</span>
232+
</pre>
227233
</ul>
228234
<p>If you find a mistake with an API or would like to contribute to our database, feel free to visit our <a href="https://github.com/RandomAPI/Randomuser.me-Data">Github Repo</a>. We'd really appreciate it :)</p>
229235
</section>

views/pages/donate.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
<option value="100">$1.00</option>
2828
<option value="200">$2.00</option>
2929
<option value="404">$4.04</option>
30-
<option value="500">$5.02</option>
30+
<option value="502">$5.02</option>
3131
<option value="1000">$10.00</option>
3232
<option value="1337">$13.37</option>
3333
<option value="2500">$25.00</option>
34-
<option value="1000">$90.01</option>
34+
<option value="9001">$90.01</option>
3535
</select>
3636
</div>
3737
<button id="donate_button" class="button">Donate Now</button>

0 commit comments

Comments
 (0)