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.
152
151
@@ -175,10 +174,7 @@ Use **getSuperContestEffectById** to return data about the effects of moves when
175
174
});
176
175
```
177
176
178
-
</details>
179
-
180
-
<details>
181
-
<summary>### Encounters</summary>
177
+
### Encounters
182
178
183
179
Use **getEncounterMethodByName** to return data about the conditions in which a trainer may encounter a pokemon in the wild.
184
180
@@ -207,10 +203,7 @@ Use **getEncounterConditionValueByName** to return data the various states that
207
203
});
208
204
```
209
205
210
-
</details>
211
-
212
-
<details>
213
-
<summary>### Evolution</summary>
206
+
### Evolution
214
207
215
208
Use **getEvolutionChainById** to return data evolution chains.
216
209
@@ -230,10 +223,7 @@ Use **getEvolutionTriggerByName** to return data about triggers which cause poke
230
223
});
231
224
```
232
225
233
-
</details>
234
-
235
-
<details>
236
-
<summary>### Games</summary>
226
+
### Games
237
227
238
228
Use **getGenerationByName** to return data about the different generations of pokemon games.
239
229
@@ -271,10 +261,7 @@ Use **getVersionGroupByName** to return data about specific version groups of po
271
261
});
272
262
```
273
263
274
-
</details>
275
-
276
-
<details>
277
-
<summary>### Items</summary>
264
+
### Items
278
265
279
266
Use **getItemByName** to return data about specific items.
280
267
@@ -321,10 +308,7 @@ Use **getItemPocketByName** to return data about specific pockets in a players b
321
308
});
322
309
```
323
310
324
-
</details>
325
-
326
-
<details>
327
-
<summary>### Machines</summary>
311
+
### Machines
328
312
329
313
Use **getMachineById** to return data about specific machine.
330
314
@@ -335,10 +319,7 @@ Use **getMachineById** to return data about specific machine.
335
319
});
336
320
```
337
321
338
-
</details>
339
-
340
-
<details>
341
-
<summary>### Moves</summary>
322
+
### Moves
342
323
343
324
Use **getMoveByName** to return data about specific pokemon move.
344
325
@@ -403,10 +384,7 @@ Use **getMoveTargetByName** to return data about specific pokemon move target.
403
384
});
404
385
```
405
386
406
-
</details>
407
-
408
-
<details>
409
-
<summary>### Locations</summary>
387
+
### Locations
410
388
411
389
Use **getLocationByName** to return data about specific pokemon location.
412
390
@@ -444,10 +422,7 @@ Use **getRegionByName** to return data about specific pokemon region.
444
422
});
445
423
```
446
424
447
-
</details>
448
-
449
-
<details>
450
-
<summary>### Pokemon</summary>
425
+
### Pokemon
451
426
452
427
Use **getAbilityByName** to return data about specific pokemon ability.
453
428
@@ -584,10 +559,7 @@ Use **getTypeByName** to return data about specific pokemon type.
584
559
});
585
560
```
586
561
587
-
</details>
588
-
589
-
<details>
590
-
<summary>### Utility</summary>
562
+
### Utility
591
563
592
564
Use **getLanguageByName** to return data about specific pokemon language.
593
565
@@ -598,10 +570,7 @@ Use **getLanguageByName** to return data about specific pokemon language.
598
570
});
599
571
```
600
572
601
-
</details>
602
-
603
-
<details>
604
-
<summary>### Custom URLs and paths</summary>
573
+
### Custom URLs and paths
605
574
606
575
Use **resource** to return data about any URL or path.
607
576
@@ -617,8 +586,6 @@ Use **resource** to return data about any URL or path.
617
586
});
618
587
```
619
588
620
-
</details>
621
-
622
589
## Root Endpoints
623
590
624
591
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.
@@ -671,8 +638,7 @@ This is what you will get:
671
638
}
672
639
```
673
640
674
-
<details>
675
-
<summary>### List of supported root endpoints</summary>
641
+
### List of supported root endpoints
676
642
677
643
- .getEndpointsList()
678
644
- .getBerriesList()
@@ -724,8 +690,6 @@ This is what you will get:
724
690
- .getTypesList()
725
691
- .getLanguagesList()
726
692
727
-
</details>
728
-
729
693
## Internet Explorer 8
730
694
731
695
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