You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use **getContestTypeByName** to return data about the effects of moves when used in contests.
150
152
@@ -173,7 +175,10 @@ Use **getSuperContestEffectById** to return data about the effects of moves when
173
175
});
174
176
```
175
177
176
-
### Encounters
178
+
</details>
179
+
180
+
<details>
181
+
<summary>### Encounters</summary>
177
182
178
183
Use **getEncounterMethodByName** to return data about the conditions in which a trainer may encounter a pokemon in the wild.
179
184
@@ -202,7 +207,10 @@ Use **getEncounterConditionValueByName** to return data the various states that
202
207
});
203
208
```
204
209
205
-
### Evolution
210
+
</details>
211
+
212
+
<details>
213
+
<summary>### Evolution</summary>
206
214
207
215
Use **getEvolutionChainById** to return data evolution chains.
208
216
@@ -222,7 +230,10 @@ Use **getEvolutionTriggerByName** to return data about triggers which cause poke
222
230
});
223
231
```
224
232
225
-
### Games
233
+
</details>
234
+
235
+
<details>
236
+
<summary>### Games</summary>
226
237
227
238
Use **getGenerationByName** to return data about the different generations of pokemon games.
228
239
@@ -260,7 +271,10 @@ Use **getVersionGroupByName** to return data about specific version groups of po
260
271
});
261
272
```
262
273
263
-
### Items
274
+
</details>
275
+
276
+
<details>
277
+
<summary>### Items</summary>
264
278
265
279
Use **getItemByName** to return data about specific items.
266
280
@@ -307,7 +321,10 @@ Use **getItemPocketByName** to return data about specific pockets in a players b
307
321
});
308
322
```
309
323
310
-
### Machines
324
+
</details>
325
+
326
+
<details>
327
+
<summary>### Machines</summary>
311
328
312
329
Use **getMachineById** to return data about specific machine.
313
330
@@ -318,7 +335,10 @@ Use **getMachineById** to return data about specific machine.
318
335
});
319
336
```
320
337
321
-
### Moves
338
+
</details>
339
+
340
+
<details>
341
+
<summary>### Moves</summary>
322
342
323
343
Use **getMoveByName** to return data about specific pokemon move.
324
344
@@ -383,7 +403,10 @@ Use **getMoveTargetByName** to return data about specific pokemon move target.
383
403
});
384
404
```
385
405
386
-
### Locations
406
+
</details>
407
+
408
+
<details>
409
+
<summary>### Locations</summary>
387
410
388
411
Use **getLocationByName** to return data about specific pokemon location.
389
412
@@ -421,7 +444,10 @@ Use **getRegionByName** to return data about specific pokemon region.
421
444
});
422
445
```
423
446
424
-
### Pokemon
447
+
</details>
448
+
449
+
<details>
450
+
<summary>### Pokemon</summary>
425
451
426
452
Use **getAbilityByName** to return data about specific pokemon ability.
427
453
@@ -558,7 +584,10 @@ Use **getTypeByName** to return data about specific pokemon type.
558
584
});
559
585
```
560
586
561
-
### Utility
587
+
</details>
588
+
589
+
<details>
590
+
<summary>### Utility</summary>
562
591
563
592
Use **getLanguageByName** to return data about specific pokemon language.
564
593
@@ -569,7 +598,10 @@ Use **getLanguageByName** to return data about specific pokemon language.
569
598
});
570
599
```
571
600
572
-
### Custom URLs and paths
601
+
</details>
602
+
603
+
<details>
604
+
<summary>### Custom URLs and paths</summary>
573
605
574
606
Use **resource** to return data about any URL or path.
575
607
@@ -585,6 +617,8 @@ Use **resource** to return data about any URL or path.
585
617
});
586
618
```
587
619
620
+
</details>
621
+
588
622
## Root Endpoints
589
623
590
624
For each root endpoint we provide a method to get all the items contained by that endpoint. By default the method will return every item in the endpoint. If you want you can configure its offset and limit.
@@ -637,7 +671,8 @@ This is what you will get:
637
671
}
638
672
```
639
673
640
-
### List of supported root endpoints
674
+
<details>
675
+
<summary>### List of supported root endpoints</summary>
641
676
642
677
- .getEndpointsList()
643
678
- .getBerriesList()
@@ -689,6 +724,8 @@ This is what you will get:
689
724
- .getTypesList()
690
725
- .getLanguagesList()
691
726
727
+
</details>
728
+
692
729
## Internet Explorer 8
693
730
694
731
In order to target this browser if must load a Promise polyfill before `pokeapi-js-wrapper`. You can choose one of your chioce, we recommed [jakearchibald/es6-promise](https://cdnjs.com/libraries/es6-promise) or [stefanpenner/es6-promise](https://github.com/stefanpenner/es6-promise)
0 commit comments