From 66a0ba16caa3a650eaa5a6e601e98251573e57b3 Mon Sep 17 00:00:00 2001 From: elioat Date: Thu, 1 Dec 2022 12:25:54 -0500 Subject: * --- src/pokedex.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pokedex.rkt b/src/pokedex.rkt index a9c7f89..2a6230b 100644 --- a/src/pokedex.rkt +++ b/src/pokedex.rkt @@ -17,7 +17,7 @@ ;; info about this form, ;; https://medium.com/chris-opperwall/practical-racket-using-a-json-rest-api-3d85eb11cc2d (define (get-pokemon id) - (call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id)) + (call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id)) ; ~a, like string-append but appends *either* strings or numbers to a string get-pure-port port->string)) -- cgit 1.4.1-2-gfad0