├── .gitignore
├── images
├── argus_filch.png
├── bill_weasley.png
├── draco_malfoy.png
├── fred_weasley.png
├── ginny_weasley.png
├── harry_potter.png
├── luna_lovegood.png
├── molly_weasley.png
├── percy_weasley.png
├── remus_lupin.png
├── ron_weasley.png
├── rubeus_hagrid.png
├── severus_snape.png
├── sirius_black.png
├── arthur_weasley.png
├── charlie_weasley.png
├── george_weasley.png
├── lord_voldemort.png
├── albus_dumbledore.png
├── hermione_granger.png
├── neville_longbottom.png
├── bellatrix_lestrange.png
└── minerva_mcgonnagall.png
├── server.js
├── package.json
├── README.md
└── db.json
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/images/argus_filch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/argus_filch.png
--------------------------------------------------------------------------------
/images/bill_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/bill_weasley.png
--------------------------------------------------------------------------------
/images/draco_malfoy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/draco_malfoy.png
--------------------------------------------------------------------------------
/images/fred_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/fred_weasley.png
--------------------------------------------------------------------------------
/images/ginny_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/ginny_weasley.png
--------------------------------------------------------------------------------
/images/harry_potter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/harry_potter.png
--------------------------------------------------------------------------------
/images/luna_lovegood.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/luna_lovegood.png
--------------------------------------------------------------------------------
/images/molly_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/molly_weasley.png
--------------------------------------------------------------------------------
/images/percy_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/percy_weasley.png
--------------------------------------------------------------------------------
/images/remus_lupin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/remus_lupin.png
--------------------------------------------------------------------------------
/images/ron_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/ron_weasley.png
--------------------------------------------------------------------------------
/images/rubeus_hagrid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/rubeus_hagrid.png
--------------------------------------------------------------------------------
/images/severus_snape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/severus_snape.png
--------------------------------------------------------------------------------
/images/sirius_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/sirius_black.png
--------------------------------------------------------------------------------
/images/arthur_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/arthur_weasley.png
--------------------------------------------------------------------------------
/images/charlie_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/charlie_weasley.png
--------------------------------------------------------------------------------
/images/george_weasley.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/george_weasley.png
--------------------------------------------------------------------------------
/images/lord_voldemort.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/lord_voldemort.png
--------------------------------------------------------------------------------
/images/albus_dumbledore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/albus_dumbledore.png
--------------------------------------------------------------------------------
/images/hermione_granger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/hermione_granger.png
--------------------------------------------------------------------------------
/images/neville_longbottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/neville_longbottom.png
--------------------------------------------------------------------------------
/images/bellatrix_lestrange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/bellatrix_lestrange.png
--------------------------------------------------------------------------------
/images/minerva_mcgonnagall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/HEAD/images/minerva_mcgonnagall.png
--------------------------------------------------------------------------------
/server.js:
--------------------------------------------------------------------------------
1 | const jsonServer = require('json-server')
2 | const server = jsonServer.create()
3 | const router = jsonServer.router('db.json')
4 | const middlewares = jsonServer.defaults()
5 | const port = process.env.PORT || 3000
6 |
7 | server.use(middlewares)
8 | server.use(router)
9 |
10 |
11 | server.listen(port)
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "harry-potter-api-english",
3 | "version": "1.0.0",
4 | "description": "A Harry Potter rest API that brings information about spells, characters, books and information itself.",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1",
8 | "start": "node server.js"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "git+https://github.com/fedeperin/harry-potter-api-english.git"
13 | },
14 | "author": "fedeperin",
15 | "license": "ISC",
16 | "bugs": {
17 | "url": "https://github.com/fedeperin/harry-potter-api-english/issues"
18 | },
19 | "homepage": "https://github.com/fedeperin/harry-potter-api-english#readme",
20 | "dependencies": {
21 | "json-server": "^0.16.3"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Harry Potter API
2 | > [!IMPORTANT]
3 | > [PotterAPI](https://github.com/fedeperin/potterapi) is a new version of this API, available en multiple languages and updated with new information. I recommend using that one instead of this one.
4 |
5 | A Harry Potter Rest API that returns information about spells, characters, books and information itself. I used node.js with the only package json-server for creating it. This Harry Potter API is hosted at Render
6 |
7 | * GitHub repository of json-server: https://github.com/typicode/json-server
8 | * Node js webpage: https://nodejs.org/
9 | * Render's webpage: https://render.com/
10 |
11 | For installing the dependencies, execute by terminal with node js installed ``npm install json-server``
12 |
13 | ## How to use
14 | Here is a JavaScript example of fetching the entire API. Just change tha value of the const ``urlToFetch`` for changing the URL being fetched. ``urlToFetch`` value can be changed by an enpoint of this (or another) API for feching different APIs
15 | ```javascript
16 | const urlToFetch = "https://harry-potter-api-en.onrender.com/db"
17 |
18 | fetch(urlToFetch)
19 | .then((res) => res.json())
20 | .then((data) => {
21 | // It brings all data at the API and it shows it at the console
22 | console.log(data)
23 | })
24 | .catch((e) => console.log(e));
25 | ```
26 | Or visit the main page of this API (that comes by default with json-server): https://harry-potter-api-en.onrender.com/
27 |
28 | ## Endpoints
29 | * https://harry-potter-api-en.onrender.com/db Brings all the data at the API
30 | * https://harry-potter-api-en.onrender.com/spells It bring the spells at the API
31 | * https://harry-potter-api-en.onrender.com/info It brings the information of the API
32 | * https://harry-potter-api-en.onrender.com/characters It brings the information about the characters at the API
33 | * https://harry-potter-api-en.onrender.com/books It only bring the book part of the API
34 |
35 |
36 | To access an specific element at the API, just secify the ID number of that element at the end of the route
37 |
38 |
39 | #### Examples:
40 | * With the route https://harry-potter-api-en.onrender.com/books/3 you only access the book at the API with ID 3
41 | * With the route https://harry-potter-api-en.onrender.com/spells/10 you only access the spell at the API with ID 10
42 | ---
43 | GitHub Repository of the Spanish version of this same API: https://github.com/fedeperin/harry-potter-api/
44 |
--------------------------------------------------------------------------------
/db.json:
--------------------------------------------------------------------------------
1 | {
2 | "spells": [
3 | {
4 | "id": 1,
5 | "spell": "Accio",
6 | "use": "Summoning charm"
7 | },
8 | {
9 | "id": 2,
10 | "spell": "Glisseo",
11 | "use": "Turns a staircase into a slide"
12 | },
13 | {
14 | "id": 3,
15 | "spell": "Impervius",
16 | "use": "Protects caster from a variety of substances, including water and fire"
17 | },
18 | {
19 | "id": 4,
20 | "spell": "Wingardium Leviosa/Locomotor",
21 | "use": "Levitates objects"
22 | },
23 | {
24 | "id": 5,
25 | "spell": "Scourgify",
26 | "use": "Cleans things"
27 | },
28 | {
29 | "id": 6,
30 | "spell": "Portus",
31 | "use": "Creates a portkey"
32 | },
33 | {
34 | "id": 7,
35 | "spell": "Orchideous",
36 | "use": "Grows flowers from end of wand"
37 | },
38 | {
39 | "id": 8,
40 | "spell": "Lumos",
41 | "use": "Makes wand emit light"
42 | },
43 | {
44 | "id": 9,
45 | "spell": "Reparo",
46 | "use": "Repairs broken objects"
47 | },
48 | {
49 | "id": 10,
50 | "spell": "Reducio",
51 | "use": "Shrinks objects"
52 | },
53 | {
54 | "id": 11,
55 | "spell": "Pack",
56 | "use": "Packs trunks and luggage"
57 | },
58 | {
59 | "id": 12,
60 | "spell": "Riddikulus",
61 | "use": "Transforms Boggarts into a humorous shape"
62 | },
63 | {
64 | "id": 13,
65 | "spell": "Protego",
66 | "use": "Shields caster from curses"
67 | },
68 | {
69 | "id": 14,
70 | "spell": "Muffliato",
71 | "use": "Keeps others nearby from overhearing conversations"
72 | },
73 | {
74 | "id": 15,
75 | "spell": "Silencio/Langlock",
76 | "use": "Stops someone from talking (by sticking one's tongue to the roof of his/her mouth)"
77 | },
78 | {
79 | "id": 16,
80 | "spell": "Expelliarmus",
81 | "use": "Disarming Charm"
82 | },
83 | {
84 | "id": 17,
85 | "spell": "Oblivate",
86 | "use": "Erases memories"
87 | },
88 | {
89 | "id": 18,
90 | "spell": "Episkey",
91 | "use": "Heals minor injuries"
92 | },
93 | {
94 | "id": 19,
95 | "spell": "Tergeo",
96 | "use": "Cleans off surfaces"
97 | },
98 | {
99 | "id": 20,
100 | "spell": "Relashio",
101 | "use": "Forces target to let go of whatever they're holding"
102 | },
103 | {
104 | "id": 21,
105 | "spell": "Confundo",
106 | "use": "Causes confusions and makes others easily susceptible to influence"
107 | },
108 | {
109 | "id": 22,
110 | "spell": "Expecto Patronum",
111 | "use": "Patronus Charm"
112 | },
113 | {
114 | "id": 23,
115 | "spell": "Ferula",
116 | "use": "Conjures bandages"
117 | },
118 | {
119 | "id": 24,
120 | "spell": "Evanesco",
121 | "use": "Vanishing spell"
122 | },
123 | {
124 | "id": 25,
125 | "spell": "Alohomora",
126 | "use": "Opens locks"
127 | },
128 | {
129 | "id": 26,
130 | "spell": "Nox",
131 | "use": "Turns off lumos"
132 | },
133 | {
134 | "id": 27,
135 | "spell": "Quietus",
136 | "use": "Quiets magically amplified voice"
137 | },
138 | {
139 | "id": 28,
140 | "spell": "Incendio",
141 | "use": "Creates fire"
142 | },
143 | {
144 | "id": 29,
145 | "spell": "Homenum Revelio",
146 | "use": "Reveal people nearby"
147 | },
148 | {
149 | "id": 30,
150 | "spell": "Prior Incantato",
151 | "use": "Reveals last spell cast"
152 | },
153 | {
154 | "id": 31,
155 | "spell": "Finite Incantatem",
156 | "use": "Negates the effects of many spells."
157 | },
158 | {
159 | "id": 32,
160 | "spell": "Erecto",
161 | "use": "Erects tents or other structures"
162 | },
163 | {
164 | "id": 33,
165 | "spell": "Diffindo",
166 | "use": "Cuts or rips material"
167 | },
168 | {
169 | "id": 34,
170 | "spell": "Stupefy",
171 | "use": "Stuns target"
172 | },
173 | {
174 | "id": 35,
175 | "spell": "Repelo Muggletum",
176 | "use": "Repels Muggles"
177 | },
178 | {
179 | "id": 36,
180 | "spell": "Avada Kedavra",
181 | "use": "The Killing Curse"
182 | },
183 | {
184 | "id": 37,
185 | "spell": "Aguamenti",
186 | "use": "Shoot water from wand"
187 | },
188 | {
189 | "id": 38,
190 | "spell": "Geminio",
191 | "use": "Creates temporary, worthless duplicate of any object"
192 | },
193 | {
194 | "id": 39,
195 | "spell": "Locomotor Mortis",
196 | "use": "Leg-lock curse"
197 | },
198 | {
199 | "id": 40,
200 | "spell": "Anapneo",
201 | "use": "Clears someone's airway"
202 | },
203 | {
204 | "id": 41,
205 | "spell": "Reducto",
206 | "use": "Explodes object"
207 | },
208 | {
209 | "id": 42,
210 | "spell": "Obscuro",
211 | "use": "Blindfolds target"
212 | },
213 | {
214 | "id": 43,
215 | "spell": "Impedimenta",
216 | "use": "Freezes someone advancing toward you"
217 | },
218 | {
219 | "id": 44,
220 | "spell": "Cave Inimicum/Protego Totalum",
221 | "use": "Strengthens an area's defenses"
222 | },
223 | {
224 | "id": 45,
225 | "spell": "Meteolojinx Recanto",
226 | "use": "Ends effects of weather spells"
227 | },
228 | {
229 | "id": 46,
230 | "spell": "Specialis Revelio",
231 | "use": "Reveals hidden magical properties in an object"
232 | },
233 | {
234 | "id": 47,
235 | "spell": "Descendo",
236 | "use": "Moves objects downward"
237 | },
238 | {
239 | "id": 48,
240 | "spell": "Defodio",
241 | "use": "Carves through stone and steel"
242 | },
243 | {
244 | "id": 49,
245 | "spell": "Aparecium",
246 | "use": "Make invisible ink appear"
247 | },
248 | {
249 | "id": 50,
250 | "spell": "Piertotum Locomotor",
251 | "use": "Animates statues"
252 | },
253 | {
254 | "id": 51,
255 | "spell": "Imperio",
256 | "use": "Makes target obey every command"
257 | },
258 | {
259 | "id": 52,
260 | "spell": "Fidelius Charm",
261 | "use": "binds a secret to the soul of a Secret-Keeper"
262 | },
263 | {
264 | "id": 53,
265 | "spell": "Avis/Oppugno",
266 | "use": "Shoots flock of birds from wand"
267 | },
268 | {
269 | "id": 54,
270 | "spell": "Expulso",
271 | "use": "Explodes objects"
272 | },
273 | {
274 | "id": 55,
275 | "spell": "Legilimens",
276 | "use": "Reveals memories and thoughts of target"
277 | },
278 | {
279 | "id": 56,
280 | "spell": "Duro",
281 | "use": "Hardens objects"
282 | },
283 | {
284 | "id": 57,
285 | "spell": "Sonorus",
286 | "use": "Amplifies one's voice"
287 | },
288 | {
289 | "id": 58,
290 | "spell": "Deprimo",
291 | "use": "Creates great downward pressure"
292 | },
293 | {
294 | "id": 59,
295 | "spell": "Levicorpus",
296 | "use": "Levitates target by ankle"
297 | },
298 | {
299 | "id": 60,
300 | "spell": "Liberacorpus",
301 | "use": "Lowers target of levicorpus"
302 | },
303 | {
304 | "id": 61,
305 | "spell": "Mobilicorpus",
306 | "use": "Moves bodies"
307 | },
308 | {
309 | "id": 62,
310 | "spell": "Confringo",
311 | "use": "Explodes objects into flames"
312 | },
313 | {
314 | "id": 63,
315 | "spell": "Densaugeo",
316 | "use": "Makes teeth grow quickly"
317 | },
318 | {
319 | "id": 64,
320 | "spell": "Incarcarous",
321 | "use": "Ties someone up with ropes"
322 | },
323 | {
324 | "id": 65,
325 | "spell": "Deletrius",
326 | "use": "Dismisses the effects of Prior Incantato"
327 | },
328 | {
329 | "id": 66,
330 | "spell": "Rictusempra",
331 | "use": "Tickling Charm"
332 | },
333 | {
334 | "id": 67,
335 | "spell": "Petrificus Totalus",
336 | "use": "Renders target completely immobile"
337 | },
338 | {
339 | "id": 68,
340 | "spell": "Fiendfyre Curse",
341 | "use": "Makes cursed fire"
342 | },
343 | {
344 | "id": 69,
345 | "spell": "Tarantallegra",
346 | "use": "Forces target to dance"
347 | },
348 | {
349 | "id": 70,
350 | "spell": "Morsmordre",
351 | "use": "Conjures the Dark Mark"
352 | },
353 | {
354 | "id": 71,
355 | "spell": "Sectumsempra",
356 | "use": "Causes severe lacerations"
357 | },
358 | {
359 | "id": 72,
360 | "spell": "Crucio",
361 | "use": "Causes immense pain"
362 | }
363 | ],
364 | "info": [
365 | {
366 | "id": 1,
367 | "type": "Author",
368 | "content": "J. K. Rowling"
369 | },
370 | {
371 | "id": 2,
372 | "type": "Protagonist",
373 | "content": "Harry Potter"
374 | },
375 | {
376 | "id": 3,
377 | "type": "Antatagonist",
378 | "content": "Lord Voldemort"
379 | },
380 | {
381 | "id": 4,
382 | "type": "Harry Potter's magic wand",
383 | "content": "Harry Potter's wand was 11 long, made of holly, and possessed a phoenix feather core. This was described by Garrick Ollivander to be an unusual combination of wand core and wood. The feather was donated by Fawkes, Albus Dumbledore's phoenix."
384 | },
385 | {
386 | "id": 5,
387 | "type": "Lord Voldemort's magic wand",
388 | "content": "Lord Voldemort's wand was 11 long, made of holly, and possessed a phoenix feather core. This was described by Garrick Ollivander to be an unusual combination of wand core and wood. The feather was donated by Fawkes, Albus Dumbledore's phoenix."
389 | },
390 | {
391 | "id": 6,
392 | "type": "Lord Voldemort's real name",
393 | "content": "Tom Marvolo Riddle (mixing the letters it ends up being Lord Voldemort)"
394 | },
395 | {
396 | "id": 7,
397 | "type": "Houses",
398 | "content": "At the school Hogwarts there are four houses: Gryffindor, Ravenclaw, Hufflepuff and Slytherin"
399 | },
400 | {
401 | "id": 8,
402 | "type": "Wands",
403 | "content": "Harry's wand and Voldemort's wand were twins, that's why they couldn't kill each other"
404 | }
405 | ],
406 | "characters": [
407 | {
408 | "id": 1,
409 | "character": "Harry James Potter",
410 | "nickname": "Harry",
411 | "hogwartsStudent": true,
412 | "hogwartsHouse": "Gryffindor",
413 | "interpretedBy": "Daniel Radcliffe",
414 | "child": [
415 | "James Sirius Potter",
416 | "Albus Severus Potter",
417 | "Lily Luna Potter"
418 | ],
419 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/harry_potter.png"
420 | },
421 | {
422 | "id": 2,
423 | "character": "Hermione Jean Granger",
424 | "nickname": "Hermione",
425 | "hogwartsStudent": true,
426 | "hogwartsHouse": "Gryffindor",
427 | "interpretedBy": "Emma Watson",
428 | "child": [
429 | "Rose Granger-Weasley",
430 | "Hugo Granger-Weasley"
431 | ],
432 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/hermione_granger.png"
433 | },
434 | {
435 | "id": 3,
436 | "character": "Ron Weasley",
437 | "nickname": "Ron",
438 | "hogwartsStudent": true,
439 | "hogwartsHouse": "Gryffindor",
440 | "interpretedBy": "Rupert Grint",
441 | "child": [
442 | "Rose Granger-Weasley",
443 | "Hugo Granger-Weasley"
444 | ],
445 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/ron_weasley.png"
446 | },
447 | {
448 | "id": 4,
449 | "character": "Fred Weasley",
450 | "nickname": "Fred",
451 | "hogwartsStudent": true,
452 | "hogwartsHouse": "Gryffindor",
453 | "interpretedBy": "James Phelps",
454 | "child": [],
455 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/fred_weasley.png"
456 | },
457 | {
458 | "id": 5,
459 | "character": "George Weasley",
460 | "nickname": "George",
461 | "hogwartsStudent": true,
462 | "hogwartsHouse": "Gryffindor",
463 | "interpretedBy": "Oliver Phelps",
464 | "child": [],
465 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/george_weasley.png"
466 | },
467 | {
468 | "id": 6,
469 | "character": "Bill Weasley",
470 | "nickname": "Bill",
471 | "hogwartsStudent": true,
472 | "hogwartsHouse": "Gryffindor",
473 | "interpretedBy": "Domhnall Gleeson",
474 | "child": [],
475 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/bill_weasley.png"
476 | },
477 | {
478 | "id": 7,
479 | "character": "Percy Weasley",
480 | "nickname": "Percy",
481 | "hogwartsStudent": true,
482 | "hogwartsHouse": "Gryffindor",
483 | "interpretedBy": "Chris Rankin",
484 | "child": [],
485 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/percy_weasley.png"
486 | },
487 | {
488 | "id": 8,
489 | "character": "Charlie Weasley",
490 | "nickname": "Charlie",
491 | "hogwartsStudent": true,
492 | "hogwartsHouse": "Gryffindor",
493 | "interpretedBy": "ninguno",
494 | "child": [],
495 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/charlie_weasley.png"
496 | },
497 | {
498 | "id": 9,
499 | "character": "Ginny Weasley",
500 | "nickname": "Ginny",
501 | "hogwartsStudent": true,
502 | "hogwartsHouse": "Gryffindor",
503 | "interpretedBy": "Bonnie Right",
504 | "child": [
505 | "James Sirius Potter",
506 | "Albus Severus Potter",
507 | "Lily Luna Potter"
508 | ],
509 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/ginny_weasley.png"
510 | },
511 | {
512 | "id": 10,
513 | "character": "Molly Weasley",
514 | "nickname": "Molly",
515 | "hogwartsStudent": true,
516 | "hogwartsHouse": "Gryffindor",
517 | "interpretedBy": "Julie Walters",
518 | "child": [
519 | "Ron Weasley",
520 | "Fred Weasley",
521 | "George Weasley",
522 | "Bill Weasley",
523 | "Percy Weasley",
524 | "Charlie Weasley",
525 | "Ginny Weasley"
526 | ],
527 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/molly_weasley.png"
528 | },
529 | {
530 | "id": 11,
531 | "character": "Arthur Weasley",
532 | "nickname": "Arthur",
533 | "hogwartsStudent": true,
534 | "hogwartsHouse": "Gryffindor",
535 | "interpretedBy": "Mark Williams",
536 | "child": [
537 | "Ron Weasley",
538 | "Fred Weasley",
539 | "George Weasley",
540 | "Bill Weasley",
541 | "Percy Weasley",
542 | "Charlie Weasley",
543 | "Ginny Weasley"
544 | ],
545 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/arthur_weasley.png"
546 | },
547 | {
548 | "id": 12,
549 | "character": "Neville Longbottom",
550 | "nickname": "Neville",
551 | "hogwartsStudent": true,
552 | "hogwartsHouse": "Gryffindor",
553 | "interpretedBy": "Matthew Lewis",
554 | "child": [],
555 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/neville_longbottom.png"
556 | },
557 | {
558 | "id": 13,
559 | "character": "Luna Lovegood",
560 | "nickname": "Luna",
561 | "hogwartsStudent": true,
562 | "hogwartsHouse": "Ravenclaw",
563 | "interpretedBy": "Evanna Lynch",
564 | "child": [],
565 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/luna_lovegood.png"
566 | },
567 | {
568 | "id": 14,
569 | "character": "Draco Malfoy",
570 | "nickname": "Draco",
571 | "hogwartsStudent": true,
572 | "hogwartsHouse": "Slytherin",
573 | "interpretedBy": "Tom Felton",
574 | "child": [
575 | "Scorpius Malfoy"
576 | ],
577 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/draco_malfoy.png"
578 | },
579 | {
580 | "id": 15,
581 | "character": "Albus Percival Wulfric Brian Dumbledore",
582 | "nickname": "Dumbledore",
583 | "hogwartsStudent": true,
584 | "hogwartsHouse": "Gryffindor",
585 | "interpretedBy": "Richard Harris",
586 | "child": [],
587 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/albus_dumbledore.png"
588 | },
589 | {
590 | "id": 16,
591 | "character": "Minerva McGonagall",
592 | "nickname": "Minerva",
593 | "hogwartsStudent": true,
594 | "hogwartsHouse": "Gryffindor",
595 | "interpretedBy": "Maggie Smith",
596 | "child": [],
597 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/minerva_mcgonnagall.png"
598 | },
599 | {
600 | "id": 17,
601 | "character": "Remus Lupin",
602 | "nickname": "Lupin",
603 | "hogwartsStudent": true,
604 | "hogwartsHouse": "Gryffindor",
605 | "interpretedBy": "David Thewils",
606 | "child": [
607 | "Ted Lupin"
608 | ],
609 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/remus_lupin.png"
610 | },
611 | {
612 | "id": 18,
613 | "character": "Rubeus Hagrid",
614 | "nickname": "Hagrid",
615 | "hogwartsStudent": true,
616 | "hogwartsHouse": "Gryffindor",
617 | "interpretedBy": "Robbie Coltrane",
618 | "child": [],
619 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/rubeus_hagrid.png"
620 | },
621 | {
622 | "id": 19,
623 | "character": "Sirius Black",
624 | "nickname": "Sirius",
625 | "hogwartsStudent": true,
626 | "hogwartsHouse": "Gryffindor",
627 | "interpretedBy": "Gary Oldman",
628 | "child": [],
629 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/sirius_black.png"
630 | },
631 | {
632 | "id": 20,
633 | "character": "Severus Snape",
634 | "nickname": "Snape",
635 | "hogwartsStudent": true,
636 | "hogwartsHouse": "Slytherin",
637 | "interpretedBy": "Alan Rickman",
638 | "child": [],
639 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/severus_snape.png"
640 | },
641 | {
642 | "id": 21,
643 | "character": "Bellatrix Lestrange",
644 | "nickname": "Bella",
645 | "hogwartsStudent": true,
646 | "hogwartsHouse": "Slytherin",
647 | "interpretedBy": "Helena Bonham Carter",
648 | "child": [
649 | "Delphi"
650 | ],
651 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/bellatrix_lestrange.png"
652 | },
653 | {
654 | "id": 22,
655 | "character": "Lord Voldemort",
656 | "nickname": "Voldemort",
657 | "hogwartsStudent": true,
658 | "hogwartsHouse": "Slytherin",
659 | "interpretedBy": "Ralph Fiennes",
660 | "child": [
661 | "Delphi"
662 | ],
663 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/lord_voldemort.png"
664 | },
665 | {
666 | "id": 23,
667 | "character": "Argus Filch",
668 | "nickname": "Filch",
669 | "hogwartsStudent": false,
670 | "hogwartsHouse": "ninguna",
671 | "interpretedBy": "David Bradley",
672 | "child": [],
673 | "image": "https://raw.githubusercontent.com/fedeperin/harry-potter-api-english/main/images/argus_filch.png"
674 | }
675 | ],
676 | "books": [
677 | {
678 | "id": 1,
679 | "title": "Harry Potter and the Sorcerer's Stone",
680 | "releaseDay": "June 26, 1997",
681 | "author": "J. K. Rowling",
682 | "description": "On his birthday, Harry Potter discovers that he is the son of two well-known wizards, from whom he has inherited magical powers. He must attend a famous school of magic and sorcery, where he establishes a friendship with two young men who will become his companions on his adventure. During his first year at Hogwarts, he discovers that a malevolent and powerful wizard named Voldemort is in search of a philosopher's stone that prolongs the life of its owner."
683 | },
684 | {
685 | "id": 2,
686 | "title": "Harry Potter and the chamber of secrets",
687 | "releaseDay": "July 2, 1998",
688 | "author": "J. K. Rowling",
689 | "description": "Harry Potter and the sophomores investigate a malevolent threat to their Hogwarts classmates, a menacing beast that hides within the castle."
690 | },
691 | {
692 | "id": 3,
693 | "title": "Harry Potter and the Prisoner of Azkaban",
694 | "releseDay": "July 8, 1999",
695 | "author": "J. K. Rowling",
696 | "description": "Harry's third year of studies at Hogwarts is threatened by Sirius Black's escape from Azkaban prison. Apparently, it is a dangerous wizard who was an accomplice of Lord Voldemort and who will try to take revenge on Harry Potter."
697 | },
698 | {
699 | "id": 4,
700 | "title": "Harry Potter and the Goblet of Fire",
701 | "releaseDay": "July 8, 2000",
702 | "author": "J. K. Rowling",
703 | "description": "Hogwarts prepares for the Triwizard Tournament, in which three schools of wizardry will compete. To everyone's surprise, Harry Potter is chosen to participate in the competition, in which he must fight dragons, enter the water and face his greatest fears."
704 | },
705 | {
706 | "id": 5,
707 | "title": "Harry Potter and the Order of the Phoenix",
708 | "releaseDay": "June 21, 2003",
709 | "author": "J. K. Rowling",
710 | "description": "In his fifth year at Hogwarts, Harry discovers that many members of the wizarding community do not know the truth about his encounter with Lord Voldemort. Cornelius Fudge, Minister of Magic, appoints Dolores Umbridge as Defense Against the Dark Arts teacher because he believes that Professor Dumbledore plans to take over her job. But his teachings are inadequate, so Harry prepares the students to defend the school against evil."
711 | },
712 | {
713 | "id": 6,
714 | "title": "Harry Potter and the Half-Blood Prince",
715 | "releaseDay": "July 16, 2005",
716 | "author": "J. K. Rowling",
717 | "description": "Harry discovers a powerful book and, while trying to discover its origins, collaborates with Dumbledore in the search for a series of magical objects that will aid in the destruction of Lord Voldemort."
718 | },
719 | {
720 | "id": 7,
721 | "title": "Harry Potter and the Deathly Hallows",
722 | "releaseDay": "July 21, 2007",
723 | "author": "J. K. Rowling",
724 | "description": "Harry, Ron and Hermione go on a dangerous mission to locate and destroy the secret of Voldemort's immortality and destruction - the Horcruces. Alone, without the guidance of their teachers or the protection of Professor Dumbledore, the three friends must lean on each other more than ever. But there are Dark Forces in between that threaten to tear them apart. Harry Potter is getting closer and closer to the task for which he has been preparing since the first day he set foot in Hogwarts: the last battle with Voldemort."
725 | },
726 | {
727 | "id": 8,
728 | "title": "Harry Potter and the Cursed Child",
729 | "releaseDay": "July 30, 2016",
730 | "author": "J. K. Rowling",
731 | "description": "Harry's second son entered Hogwarts, but in Slytherin. His relationship with Harry is getting worse and he became close friends with Draco's son, Scorpius Malfoy who is said to be Lord Voldemort's son."
732 | }
733 | ]
734 | }
--------------------------------------------------------------------------------