pyrtan / tests / fixtures / examples.json
27,217 bytes · last changed 2026-10-28 in Add seventeen more trees that run in a browser
| 1 | { |
| 2 | "GET https://hacker-news.firebaseio.com/v0/topstories.json": { |
| 3 | "status": 200, |
| 4 | "body": [ |
| 5 | 101, |
| 6 | 102, |
| 7 | 103 |
| 8 | ] |
| 9 | }, |
| 10 | "GET https://hacker-news.firebaseio.com/v0/item/101.json": { |
| 11 | "status": 200, |
| 12 | "body": { |
| 13 | "id": 101, |
| 14 | "type": "story", |
| 15 | "title": "Pyrtan 0.1", |
| 16 | "url": "https://example.org/p", |
| 17 | "score": 42, |
| 18 | "by": "alice" |
| 19 | } |
| 20 | }, |
| 21 | "GET https://hacker-news.firebaseio.com/v0/item/102.json": { |
| 22 | "status": 200, |
| 23 | "body": { |
| 24 | "id": 102, |
| 25 | "type": "story", |
| 26 | "title": "Ask HN: self post", |
| 27 | "score": 7, |
| 28 | "by": "x" |
| 29 | } |
| 30 | }, |
| 31 | "GET https://hacker-news.firebaseio.com/v0/item/103.json": { |
| 32 | "status": 200, |
| 33 | "body": { |
| 34 | "id": 103, |
| 35 | "type": "comment", |
| 36 | "by": "y", |
| 37 | "text": "a comment" |
| 38 | } |
| 39 | }, |
| 40 | "GET https://hacker-news.firebaseio.com/v0/item/999.json": { |
| 41 | "status": 200, |
| 42 | "body": null |
| 43 | }, |
| 44 | "GET https://geocoding-api.open-meteo.com/v1/search?name=Oslo&count=1&language=en&format=json": { |
| 45 | "status": 200, |
| 46 | "body": { |
| 47 | "results": [ |
| 48 | { |
| 49 | "name": "Oslo", |
| 50 | "country": "Norway", |
| 51 | "latitude": 59.91, |
| 52 | "longitude": 10.75 |
| 53 | } |
| 54 | ] |
| 55 | } |
| 56 | }, |
| 57 | "GET https://geocoding-api.open-meteo.com/v1/search?name=Nowhereville&count=1&language=en&format=json": { |
| 58 | "status": 200, |
| 59 | "body": { |
| 60 | "generationtime_ms": 0.5 |
| 61 | } |
| 62 | }, |
| 63 | "GET https://api.open-meteo.com/v1/forecast?latitude=59.91&longitude=10.75¤t=temperature_2m,relative_humidity_2m,wind_speed_10m,weather_code&temperature_unit=celsius": { |
| 64 | "status": 200, |
| 65 | "body": { |
| 66 | "current_units": { |
| 67 | "temperature_2m": "°C" |
| 68 | }, |
| 69 | "current": { |
| 70 | "temperature_2m": 4.2, |
| 71 | "relative_humidity_2m": 80, |
| 72 | "wind_speed_10m": 12.3, |
| 73 | "weather_code": 61 |
| 74 | } |
| 75 | } |
| 76 | }, |
| 77 | "GET https://api.open-meteo.com/v1/forecast?latitude=59.91&longitude=10.75¤t=temperature_2m,relative_humidity_2m,wind_speed_10m,weather_code&temperature_unit=fahrenheit": { |
| 78 | "status": 200, |
| 79 | "body": { |
| 80 | "current_units": { |
| 81 | "temperature_2m": "°F" |
| 82 | }, |
| 83 | "current": { |
| 84 | "temperature_2m": 39.6, |
| 85 | "relative_humidity_2m": 80, |
| 86 | "wind_speed_10m": 12.3, |
| 87 | "weather_code": 0 |
| 88 | } |
| 89 | } |
| 90 | }, |
| 91 | "GET https://example.com/": { |
| 92 | "status": 200, |
| 93 | "body": "<html><head><title>Example Domain</title></head><body><h1>Example Domain</h1></body></html>" |
| 94 | }, |
| 95 | "GET https://broken.example/": { |
| 96 | "status": 503, |
| 97 | "body": "down" |
| 98 | }, |
| 99 | "GET https://teapot.example/": { |
| 100 | "status": 418, |
| 101 | "body": "short and stout" |
| 102 | }, |
| 103 | "GET https://api.github.com/repos/b-i-t-8/pyrtan/releases/latest": { |
| 104 | "status": 200, |
| 105 | "body": { |
| 106 | "tag_name": "v0.1.0", |
| 107 | "name": "First", |
| 108 | "published_at": "2026-10-24T00:00:00Z", |
| 109 | "html_url": "https://github.com/b-i-t-8/pyrtan/releases/tag/v0.1.0", |
| 110 | "prerelease": false |
| 111 | } |
| 112 | }, |
| 113 | "GET https://api.github.com/repos/b-i-t-8/nothing/releases/latest": { |
| 114 | "status": 404, |
| 115 | "body": { |
| 116 | "message": "Not Found" |
| 117 | } |
| 118 | }, |
| 119 | "GET https://api.github.com/repos/b-i-t-8/busy/releases/latest": { |
| 120 | "status": 403, |
| 121 | "body": { |
| 122 | "message": "API rate limit exceeded" |
| 123 | } |
| 124 | }, |
| 125 | "shell df -P /": { |
| 126 | "command": "df", |
| 127 | "args": [ |
| 128 | "-P", |
| 129 | "/" |
| 130 | ], |
| 131 | "status": 0, |
| 132 | "ok": true, |
| 133 | "stdout": "Filesystem 1024-blocks Used Available Capacity Mounted on\n/dev/sda1 100000000 71000000 29000000 71% /\n", |
| 134 | "stderr": "", |
| 135 | "json": null, |
| 136 | "lines": [ |
| 137 | "Filesystem 1024-blocks Used Available Capacity Mounted on", |
| 138 | "/dev/sda1 100000000 71000000 29000000 71% /" |
| 139 | ], |
| 140 | "elapsed_ms": 4, |
| 141 | "body": "Filesystem 1024-blocks Used Available Capacity Mounted on\n/dev/sda1 100000000 71000000 29000000 71% /\n" |
| 142 | }, |
| 143 | "shell df -P /data": { |
| 144 | "command": "df", |
| 145 | "args": [ |
| 146 | "-P", |
| 147 | "/data" |
| 148 | ], |
| 149 | "status": 0, |
| 150 | "ok": true, |
| 151 | "stdout": "Filesystem 1024-blocks Used Available Capacity Mounted on\n/dev/sdb1 400000000 384000000 16000000 96% /data\n", |
| 152 | "stderr": "", |
| 153 | "json": null, |
| 154 | "lines": [ |
| 155 | "Filesystem 1024-blocks Used Available Capacity Mounted on", |
| 156 | "/dev/sdb1 400000000 384000000 16000000 96% /data" |
| 157 | ], |
| 158 | "elapsed_ms": 4, |
| 159 | "body": "Filesystem 1024-blocks Used Available Capacity Mounted on\n/dev/sdb1 400000000 384000000 16000000 96% /data\n" |
| 160 | }, |
| 161 | "shell df -P /nowhere": { |
| 162 | "command": "df", |
| 163 | "args": [ |
| 164 | "-P", |
| 165 | "/nowhere" |
| 166 | ], |
| 167 | "status": 1, |
| 168 | "ok": false, |
| 169 | "stdout": "", |
| 170 | "stderr": "df: /nowhere: No such file or directory\n", |
| 171 | "json": null, |
| 172 | "lines": [], |
| 173 | "elapsed_ms": 3, |
| 174 | "body": "" |
| 175 | }, |
| 176 | "file /var/log/syslog": { |
| 177 | "path": "/var/log/syslog", |
| 178 | "exists": true, |
| 179 | "size": 48213, |
| 180 | "modified": "2026-10-25T12:01:02Z", |
| 181 | "body": "Oct 25 11:58:01 nas systemd[1]: Started Daily apt download activities.\nOct 25 11:59:14 nas smartd[812]: Device: /dev/sda, SMART Usage Attribute: 194 Temperature_Celsius changed from 112 to 111\nOct 25 12:00:00 nas pyrtan[1200]: error: weather: open-meteo answered 503\nOct 25 12:00:30 nas kernel: usb 1-1: new high-speed USB device number 4\nOct 25 12:01:02 nas pyrtan[1200]: ERROR site-status: broken.example answered 500", |
| 182 | "json": null, |
| 183 | "lines": [ |
| 184 | "Oct 25 11:58:01 nas systemd[1]: Started Daily apt download activities.", |
| 185 | "Oct 25 11:59:14 nas smartd[812]: Device: /dev/sda, SMART Usage Attribute: 194 Temperature_Celsius changed from 112 to 111", |
| 186 | "Oct 25 12:00:00 nas pyrtan[1200]: error: weather: open-meteo answered 503", |
| 187 | "Oct 25 12:00:30 nas kernel: usb 1-1: new high-speed USB device number 4", |
| 188 | "Oct 25 12:01:02 nas pyrtan[1200]: ERROR site-status: broken.example answered 500" |
| 189 | ] |
| 190 | }, |
| 191 | "file /var/log/quiet.log": { |
| 192 | "path": "/var/log/quiet.log", |
| 193 | "exists": true, |
| 194 | "size": 71, |
| 195 | "modified": "2026-10-25T09:00:00Z", |
| 196 | "body": "Oct 25 09:00:00 nas cron[400]: (root) CMD (run-parts /etc/cron.hourly)", |
| 197 | "json": null, |
| 198 | "lines": [ |
| 199 | "Oct 25 09:00:00 nas cron[400]: (root) CMD (run-parts /etc/cron.hourly)" |
| 200 | ] |
| 201 | }, |
| 202 | "file /var/log/nothing.log": { |
| 203 | "path": "/var/log/nothing.log", |
| 204 | "exists": false, |
| 205 | "size": null, |
| 206 | "modified": null, |
| 207 | "body": null, |
| 208 | "json": null, |
| 209 | "lines": [] |
| 210 | }, |
| 211 | "queue mqtt://broker.local home/kitchen/temperature": { |
| 212 | "url": "mqtt://broker.local", |
| 213 | "topic": "home/kitchen/temperature", |
| 214 | "received": true, |
| 215 | "message": { |
| 216 | "topic": "home/kitchen/temperature", |
| 217 | "body": "{\"temperature\": 21.5, \"unit\": \"C\"}", |
| 218 | "json": { |
| 219 | "temperature": 21.5, |
| 220 | "unit": "C" |
| 221 | } |
| 222 | }, |
| 223 | "body": "{\"temperature\": 21.5, \"unit\": \"C\"}", |
| 224 | "json": { |
| 225 | "temperature": 21.5, |
| 226 | "unit": "C" |
| 227 | } |
| 228 | }, |
| 229 | "queue mqtt://broker.local home/attic/temperature": { |
| 230 | "url": "mqtt://broker.local", |
| 231 | "topic": "home/attic/temperature", |
| 232 | "received": true, |
| 233 | "message": { |
| 234 | "topic": "home/attic/temperature", |
| 235 | "body": "{\"temperature\": 31}", |
| 236 | "json": { |
| 237 | "temperature": 31 |
| 238 | } |
| 239 | }, |
| 240 | "body": "{\"temperature\": 31}", |
| 241 | "json": { |
| 242 | "temperature": 31 |
| 243 | } |
| 244 | }, |
| 245 | "queue mqtt://broker.local home/garage/temperature": { |
| 246 | "url": "mqtt://broker.local", |
| 247 | "topic": "home/garage/temperature", |
| 248 | "received": false, |
| 249 | "message": null, |
| 250 | "body": null, |
| 251 | "json": null |
| 252 | }, |
| 253 | "queue mqtt://broker.local home/hall/temperature": { |
| 254 | "url": "mqtt://broker.local", |
| 255 | "topic": "home/hall/temperature", |
| 256 | "received": true, |
| 257 | "message": { |
| 258 | "topic": "home/hall/temperature", |
| 259 | "body": "warm-ish", |
| 260 | "json": null |
| 261 | }, |
| 262 | "body": "warm-ish", |
| 263 | "json": null |
| 264 | }, |
| 265 | "browser https://app.example/dashboard": { |
| 266 | "url": "https://app.example/dashboard", |
| 267 | "status": 200, |
| 268 | "ok": true, |
| 269 | "title": "Dashboard", |
| 270 | "body": "<!doctype html><html><head><title>Dashboard</title></head><body><div id=\"root\"><nav>Home</nav><h1>Welcome back, Barry</h1><p>3 alerts</p></div></body></html>", |
| 271 | "elapsed_ms": 812 |
| 272 | }, |
| 273 | "browser https://app.example/empty": { |
| 274 | "url": "https://app.example/empty", |
| 275 | "status": 200, |
| 276 | "ok": true, |
| 277 | "title": "Empty", |
| 278 | "body": "<html><head><title>Empty</title></head><body><div id=\"root\"></div></body></html>", |
| 279 | "elapsed_ms": 300 |
| 280 | }, |
| 281 | "browser https://app.example/gone": { |
| 282 | "url": "https://app.example/gone", |
| 283 | "status": 404, |
| 284 | "ok": false, |
| 285 | "title": "Not found", |
| 286 | "body": "<html><body><h1>Not found</h1></body></html>", |
| 287 | "elapsed_ms": 200 |
| 288 | }, |
| 289 | "serial /dev/ttyUSB0 \"AT\\r\\n\"": { |
| 290 | "device": "/dev/ttyUSB0", |
| 291 | "baud": 9600, |
| 292 | "sent": 4, |
| 293 | "body": "OK\r\n", |
| 294 | "bytes": 4, |
| 295 | "complete": true, |
| 296 | "json": null, |
| 297 | "lines": [ |
| 298 | "OK" |
| 299 | ] |
| 300 | }, |
| 301 | "serial /dev/ttyUSB1 \"AT\\r\\n\"": { |
| 302 | "error": "/dev/ttyUSB1: no answer within 3 s" |
| 303 | }, |
| 304 | "serial /dev/ttyACM0 \"AT\\r\\n\"": { |
| 305 | "device": "/dev/ttyACM0", |
| 306 | "baud": 9600, |
| 307 | "sent": 4, |
| 308 | "body": "+CME ERROR: 10\r\n", |
| 309 | "bytes": 16, |
| 310 | "complete": true, |
| 311 | "json": null, |
| 312 | "lines": [ |
| 313 | "+CME ERROR: 10" |
| 314 | ] |
| 315 | }, |
| 316 | "GET https://en.wikipedia.org/api/rest_v1/page/summary/Ursula%20K%20Le%20Guin": { |
| 317 | "status": 200, |
| 318 | "body": { |
| 319 | "type": "standard", |
| 320 | "title": "Ursula K. Le Guin", |
| 321 | "extract": "Ursula Kroeber Le Guin was an American author. She is best known for her works of speculative fiction.", |
| 322 | "content_urls": { |
| 323 | "desktop": { |
| 324 | "page": "https://en.wikipedia.org/wiki/Ursula_K._Le_Guin" |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | }, |
| 329 | "GET https://en.wikipedia.org/api/rest_v1/page/summary/Mercury": { |
| 330 | "status": 200, |
| 331 | "body": { |
| 332 | "type": "disambiguation", |
| 333 | "title": "Mercury", |
| 334 | "extract": "Mercury most commonly refers to:Mercury (planet), the closest planet to the Sun\n", |
| 335 | "content_urls": { |
| 336 | "desktop": { |
| 337 | "page": "https://en.wikipedia.org/wiki/Mercury" |
| 338 | } |
| 339 | } |
| 340 | } |
| 341 | }, |
| 342 | "GET https://en.wikipedia.org/api/rest_v1/page/summary/Xyzzyplugh%20Notaperson": { |
| 343 | "status": 404, |
| 344 | "body": { |
| 345 | "status": 404, |
| 346 | "type": "Internal error" |
| 347 | } |
| 348 | }, |
| 349 | "GET https://en.wikipedia.org/api/rest_v1/page/summary/Alan%20Turing": { |
| 350 | "status": 429, |
| 351 | "body": "You are making too many requests to the API." |
| 352 | }, |
| 353 | "GET https://api.dictionaryapi.dev/api/v2/entries/en/serendipity": { |
| 354 | "status": 200, |
| 355 | "body": [ |
| 356 | { |
| 357 | "word": "serendipity", |
| 358 | "phonetic": "/ˌsɛ.ɹən.ˈdɪ.pɪ.ti/", |
| 359 | "meanings": [ |
| 360 | { |
| 361 | "partOfSpeech": "noun", |
| 362 | "definitions": [ |
| 363 | { |
| 364 | "definition": "A combination of events which have come together by chance to make a surprisingly good or wonderful outcome." |
| 365 | } |
| 366 | ] |
| 367 | } |
| 368 | ] |
| 369 | } |
| 370 | ] |
| 371 | }, |
| 372 | "GET https://api.dictionaryapi.dev/api/v2/entries/en/zzzqx": { |
| 373 | "status": 404, |
| 374 | "body": { |
| 375 | "title": "No Definitions Found" |
| 376 | } |
| 377 | }, |
| 378 | "GET https://api.open-meteo.com/v1/forecast?latitude=59.91&longitude=10.75&daily=sunrise,sunset&timezone=auto&forecast_days=1": { |
| 379 | "status": 200, |
| 380 | "body": { |
| 381 | "timezone": "Europe/Oslo", |
| 382 | "daily": { |
| 383 | "time": [ |
| 384 | "2026-10-28" |
| 385 | ], |
| 386 | "sunrise": [ |
| 387 | "2026-10-28T07:28" |
| 388 | ], |
| 389 | "sunset": [ |
| 390 | "2026-10-28T16:32" |
| 391 | ] |
| 392 | } |
| 393 | } |
| 394 | }, |
| 395 | "GET https://api.open-meteo.com/v1/forecast?latitude=78.22&longitude=15.65&daily=sunrise,sunset&timezone=auto&forecast_days=1": { |
| 396 | "status": 200, |
| 397 | "body": { |
| 398 | "timezone": "Arctic/Longyearbyen", |
| 399 | "daily": { |
| 400 | "time": [ |
| 401 | "2026-12-21" |
| 402 | ], |
| 403 | "sunrise": [ |
| 404 | null |
| 405 | ], |
| 406 | "sunset": [ |
| 407 | null |
| 408 | ] |
| 409 | } |
| 410 | } |
| 411 | }, |
| 412 | "GET https://geocoding-api.open-meteo.com/v1/search?name=Longyearbyen&count=1&language=en&format=json": { |
| 413 | "status": 200, |
| 414 | "body": { |
| 415 | "results": [ |
| 416 | { |
| 417 | "name": "Longyearbyen", |
| 418 | "country": "Svalbard and Jan Mayen", |
| 419 | "latitude": 78.22, |
| 420 | "longitude": 15.65 |
| 421 | } |
| 422 | ] |
| 423 | } |
| 424 | }, |
| 425 | "GET https://air-quality-api.open-meteo.com/v1/air-quality?latitude=59.91&longitude=10.75¤t=european_aqi,pm2_5,pm10": { |
| 426 | "status": 200, |
| 427 | "body": { |
| 428 | "current": { |
| 429 | "time": "2026-10-28T00:00", |
| 430 | "interval": 3600, |
| 431 | "european_aqi": 21, |
| 432 | "pm2_5": 3.8, |
| 433 | "pm10": 10.2 |
| 434 | } |
| 435 | } |
| 436 | }, |
| 437 | "GET https://geocoding-api.open-meteo.com/v1/search?name=Delhi&count=1&language=en&format=json": { |
| 438 | "status": 200, |
| 439 | "body": { |
| 440 | "results": [ |
| 441 | { |
| 442 | "name": "Delhi", |
| 443 | "country": "India", |
| 444 | "latitude": 28.65, |
| 445 | "longitude": 77.23 |
| 446 | } |
| 447 | ] |
| 448 | } |
| 449 | }, |
| 450 | "GET https://air-quality-api.open-meteo.com/v1/air-quality?latitude=28.65&longitude=77.23¤t=european_aqi,pm2_5,pm10": { |
| 451 | "status": 200, |
| 452 | "body": { |
| 453 | "current": { |
| 454 | "european_aqi": 87, |
| 455 | "pm2_5": 61.4, |
| 456 | "pm10": 118.3 |
| 457 | } |
| 458 | } |
| 459 | }, |
| 460 | "GET https://registry.npmjs.org/%40types%2Fnode/latest": { |
| 461 | "status": 200, |
| 462 | "body": { |
| 463 | "name": "@types/node", |
| 464 | "version": "26.6.5", |
| 465 | "description": "TypeScript definitions for node" |
| 466 | } |
| 467 | }, |
| 468 | "GET https://registry.npmjs.org/nope-not-a-pkg-zz/latest": { |
| 469 | "status": 404, |
| 470 | "body": "Not Found" |
| 471 | }, |
| 472 | "GET https://pypi.org/pypi/requests/json": { |
| 473 | "status": 200, |
| 474 | "body": { |
| 475 | "info": { |
| 476 | "name": "requests", |
| 477 | "version": "2.34.2", |
| 478 | "summary": "Python HTTP for Humans.", |
| 479 | "package_url": "https://pypi.org/project/requests/" |
| 480 | } |
| 481 | } |
| 482 | }, |
| 483 | "GET https://pypi.org/pypi/nope-not-a-pkg-zz/json": { |
| 484 | "status": 404, |
| 485 | "body": { |
| 486 | "message": "Not Found" |
| 487 | } |
| 488 | }, |
| 489 | "GET https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_day.geojson": { |
| 490 | "status": 200, |
| 491 | "body": { |
| 492 | "metadata": { |
| 493 | "count": 19 |
| 494 | }, |
| 495 | "features": [ |
| 496 | { |
| 497 | "properties": { |
| 498 | "mag": 5.1, |
| 499 | "place": "7 km ENE of Pangyan, Philippines", |
| 500 | "tsunami": 0, |
| 501 | "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000ttkk" |
| 502 | } |
| 503 | }, |
| 504 | { |
| 505 | "properties": { |
| 506 | "mag": 5.4, |
| 507 | "place": "197 km WSW of Merizo Village, Guam", |
| 508 | "tsunami": 0, |
| 509 | "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000ttke" |
| 510 | } |
| 511 | } |
| 512 | ] |
| 513 | } |
| 514 | }, |
| 515 | "GET https://api.wheretheiss.at/v1/satellites/25544": { |
| 516 | "status": 200, |
| 517 | "body": { |
| 518 | "latitude": -26.625662371377, |
| 519 | "longitude": -60.102704384113, |
| 520 | "altitude": 422.43868994227, |
| 521 | "velocity": 27577.69858816, |
| 522 | "visibility": "eclipsed" |
| 523 | } |
| 524 | }, |
| 525 | "GET https://hn.algolia.com/api/v1/search?query=sqlite&tags=story&hitsPerPage=3": { |
| 526 | "status": 200, |
| 527 | "body": { |
| 528 | "nbHits": 4632, |
| 529 | "hits": [ |
| 530 | { |
| 531 | "title": "Hosting SQLite databases on GitHub Pages or any static file hoster", |
| 532 | "url": "https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/", |
| 533 | "points": 1812, |
| 534 | "author": "phiresky", |
| 535 | "objectID": "27016630" |
| 536 | }, |
| 537 | { |
| 538 | "title": "I'm all-in on server-side SQLite", |
| 539 | "url": "https://fly.io/blog/all-in-on-sqlite-litestream/", |
| 540 | "points": 1353, |
| 541 | "author": "dpeck", |
| 542 | "objectID": "31318708" |
| 543 | }, |
| 544 | { |
| 545 | "title": "Tracking down the 16-year-old WAL-reset SQLite bug", |
| 546 | "url": "https://tailscale.com/blog/sqlite-wal-reset-bug", |
| 547 | "points": 1223, |
| 548 | "author": "ropbear", |
| 549 | "objectID": "49272832" |
| 550 | } |
| 551 | ] |
| 552 | } |
| 553 | }, |
| 554 | "GET https://hn.algolia.com/api/v1/search?query=qqqzzzxxyyy&tags=story&hitsPerPage=3": { |
| 555 | "status": 200, |
| 556 | "body": { |
| 557 | "nbHits": 0, |
| 558 | "hits": [] |
| 559 | } |
| 560 | }, |
| 561 | "GET https://openlibrary.org/search.json?q=The%20Left%20Hand%20of%20Darkness&limit=1&fields=title,author_name,first_publish_year,key": { |
| 562 | "status": 200, |
| 563 | "body": { |
| 564 | "numFound": 112, |
| 565 | "docs": [ |
| 566 | { |
| 567 | "author_name": [ |
| 568 | "Ursula K. Le Guin" |
| 569 | ], |
| 570 | "first_publish_year": 1969, |
| 571 | "key": "/works/OL59800W", |
| 572 | "title": "The Left Hand of Darkness" |
| 573 | } |
| 574 | ] |
| 575 | } |
| 576 | }, |
| 577 | "GET https://openlibrary.org/search.json?q=qqqzzzxxyyy&limit=1&fields=title,author_name,first_publish_year,key": { |
| 578 | "status": 200, |
| 579 | "body": { |
| 580 | "numFound": 0, |
| 581 | "docs": [] |
| 582 | } |
| 583 | }, |
| 584 | "GET https://date.nager.at/api/v3/NextPublicHolidays/NO": { |
| 585 | "status": 200, |
| 586 | "body": [ |
| 587 | { |
| 588 | "date": "2026-12-25", |
| 589 | "localName": "Første juledag", |
| 590 | "name": "Christmas Day" |
| 591 | }, |
| 592 | { |
| 593 | "date": "2026-12-26", |
| 594 | "localName": "Andre juledag", |
| 595 | "name": "St. Stephen's Day" |
| 596 | } |
| 597 | ] |
| 598 | }, |
| 599 | "GET https://date.nager.at/api/v3/NextPublicHolidays/XX": { |
| 600 | "status": 500, |
| 601 | "body": "" |
| 602 | }, |
| 603 | "GET https://icanhazdadjoke.com/": { |
| 604 | "status": 200, |
| 605 | "body": { |
| 606 | "id": "oOKBsPZ0wc", |
| 607 | "joke": "I am so good at sleeping I can do it with my eyes closed!", |
| 608 | "status": 200 |
| 609 | } |
| 610 | }, |
| 611 | "GET https://api.frankfurter.dev/v1/latest?base=USD&symbols=XYZ&amount=1": { |
| 612 | "status": 404, |
| 613 | "body": { |
| 614 | "message": "not found" |
| 615 | } |
| 616 | }, |
| 617 | "GET https://api.datamuse.com/words?rel_syn=qqqzzz&max=8": { |
| 618 | "status": 200, |
| 619 | "body": [] |
| 620 | }, |
| 621 | "GET https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR&amount=100": { |
| 622 | "status": 200, |
| 623 | "body": { |
| 624 | "amount": 100.0, |
| 625 | "base": "USD", |
| 626 | "date": "2026-10-27", |
| 627 | "rates": { |
| 628 | "EUR": 89.69 |
| 629 | } |
| 630 | } |
| 631 | }, |
| 632 | "GET https://api.frankfurter.dev/v1/latest?base=EUR&symbols=JPY&amount=1000": { |
| 633 | "status": 200, |
| 634 | "body": { |
| 635 | "amount": 1000.0, |
| 636 | "base": "EUR", |
| 637 | "date": "2026-10-27", |
| 638 | "rates": { |
| 639 | "JPY": 175970 |
| 640 | } |
| 641 | } |
| 642 | }, |
| 643 | "GET https://api.frankfurter.dev/v1/latest?base=USD&symbols=USD&amount=1": { |
| 644 | "status": 422, |
| 645 | "body": { |
| 646 | "message": "bad currency pair" |
| 647 | } |
| 648 | }, |
| 649 | "GET https://api.datamuse.com/words?rel_syn=happy&max=8": { |
| 650 | "status": 200, |
| 651 | "body": [ |
| 652 | { |
| 653 | "word": "halcyon" |
| 654 | }, |
| 655 | { |
| 656 | "word": "content" |
| 657 | }, |
| 658 | { |
| 659 | "word": "bright" |
| 660 | }, |
| 661 | { |
| 662 | "word": "felicitous" |
| 663 | }, |
| 664 | { |
| 665 | "word": "riant" |
| 666 | }, |
| 667 | { |
| 668 | "word": "expansive" |
| 669 | }, |
| 670 | { |
| 671 | "word": "elysian" |
| 672 | }, |
| 673 | { |
| 674 | "word": "joyful" |
| 675 | } |
| 676 | ] |
| 677 | }, |
| 678 | "GET https://pokeapi.co/api/v2/pokemon/charizard": { |
| 679 | "status": 200, |
| 680 | "body": { |
| 681 | "id": 6, |
| 682 | "name": "charizard", |
| 683 | "height": 17, |
| 684 | "weight": 905, |
| 685 | "types": [ |
| 686 | { |
| 687 | "slot": 1, |
| 688 | "type": { |
| 689 | "name": "fire" |
| 690 | } |
| 691 | }, |
| 692 | { |
| 693 | "slot": 2, |
| 694 | "type": { |
| 695 | "name": "flying" |
| 696 | } |
| 697 | } |
| 698 | ] |
| 699 | } |
| 700 | }, |
| 701 | "GET https://geocoding-api.open-meteo.com/v1/search?name=La%20Paz&count=1&language=en&format=json": { |
| 702 | "status": 200, |
| 703 | "body": { |
| 704 | "results": [ |
| 705 | { |
| 706 | "name": "La Paz", |
| 707 | "country": "Mexico", |
| 708 | "latitude": 24.14231, |
| 709 | "longitude": -110.31316, |
| 710 | "timezone": "America/Mazatlan", |
| 711 | "elevation": 33.0 |
| 712 | } |
| 713 | ] |
| 714 | } |
| 715 | }, |
| 716 | "GET https://timeapi.io/api/time/current/zone?timeZone=America%2FMazatlan": { |
| 717 | "status": 200, |
| 718 | "body": { |
| 719 | "dateTime": "2026-10-27T17:50:58.7188947", |
| 720 | "time": "17:50", |
| 721 | "dayOfWeek": "Tuesday", |
| 722 | "timeZone": "America/Mazatlan" |
| 723 | } |
| 724 | }, |
| 725 | "GET https://api.adviceslip.com/advice": { |
| 726 | "status": 200, |
| 727 | "body": { |
| 728 | "slip": { |
| 729 | "id": 66, |
| 730 | "advice": "Take time once in a while to look up at the stars for at least 5 minutes, in order to comprehend your cosmic significance." |
| 731 | } |
| 732 | } |
| 733 | }, |
| 734 | "GET https://formulae.brew.sh/api/formula/nope-qqzz.json": { |
| 735 | "status": 404, |
| 736 | "body": "<!DOCTYPE html><title>404</title>" |
| 737 | }, |
| 738 | "GET https://api.zippopotam.us/us/00000": { |
| 739 | "status": 404, |
| 740 | "body": {} |
| 741 | }, |
| 742 | "GET https://api.datamuse.com/words?rel_rhy=cat&max=10": { |
| 743 | "status": 200, |
| 744 | "body": [ |
| 745 | { |
| 746 | "word": "flat" |
| 747 | }, |
| 748 | { |
| 749 | "word": "caveat" |
| 750 | }, |
| 751 | { |
| 752 | "word": "brat" |
| 753 | }, |
| 754 | { |
| 755 | "word": "pat" |
| 756 | }, |
| 757 | { |
| 758 | "word": "combat" |
| 759 | }, |
| 760 | { |
| 761 | "word": "slat" |
| 762 | }, |
| 763 | { |
| 764 | "word": "that" |
| 765 | }, |
| 766 | { |
| 767 | "word": "rat" |
| 768 | }, |
| 769 | { |
| 770 | "word": "diplomat" |
| 771 | }, |
| 772 | { |
| 773 | "word": "fat" |
| 774 | } |
| 775 | ] |
| 776 | }, |
| 777 | "GET https://api.spaceflightnewsapi.net/v4/articles/?limit=3": { |
| 778 | "status": 200, |
| 779 | "body": { |
| 780 | "results": [ |
| 781 | { |
| 782 | "title": "Ukrainian startup, GomSpace test satellite for future communications network", |
| 783 | "news_site": "SpaceNews", |
| 784 | "url": "https://spacenews.com/ukrainian-startup-gomspace-test-satellite-for-future-communications-network/", |
| 785 | "published_at": "2026-10-27T20:21:30Z" |
| 786 | }, |
| 787 | { |
| 788 | "title": "NASA Invites Media to Crew Completion of Yearlong Mars Simulation", |
| 789 | "news_site": "NASA", |
| 790 | "url": "https://www.nasa.gov/news-release/nasa-invites-media-to-crew-completion-of-yearlong-mars-simulation/", |
| 791 | "published_at": "2026-10-27T19:27:22Z" |
| 792 | }, |
| 793 | { |
| 794 | "title": "NASA’s Neo Surveyor Sunshade", |
| 795 | "news_site": "NASA", |
| 796 | "url": "https://www.nasa.gov/image-article/nasas-neo-surveyor-sunshade/", |
| 797 | "published_at": "2026-10-27T17:58:57Z" |
| 798 | } |
| 799 | ] |
| 800 | } |
| 801 | }, |
| 802 | "GET https://api.ipify.org?format=json": { |
| 803 | "status": 200, |
| 804 | "body": { |
| 805 | "ip": "203.0.113.7" |
| 806 | } |
| 807 | }, |
| 808 | "GET https://proxy.golang.org/github.com/gorilla/mux/@latest": { |
| 809 | "status": 200, |
| 810 | "body": { |
| 811 | "Version": "v1.8.1", |
| 812 | "Time": "2023-10-18T11:23:00Z" |
| 813 | } |
| 814 | }, |
| 815 | "GET https://api.zippopotam.us/gb/SW1A": { |
| 816 | "status": 200, |
| 817 | "body": { |
| 818 | "country": "Great Britain", |
| 819 | "places": [ |
| 820 | { |
| 821 | "place name": "Westminster Abbey", |
| 822 | "state": "England", |
| 823 | "latitude": "51.4841", |
| 824 | "longitude": "-0.1966" |
| 825 | } |
| 826 | ] |
| 827 | } |
| 828 | }, |
| 829 | "GET https://pokeapi.co/api/v2/pokemon/notapokemonqq": { |
| 830 | "status": 404, |
| 831 | "body": { |
| 832 | "status": 404, |
| 833 | "message": "Not Found" |
| 834 | } |
| 835 | }, |
| 836 | "GET https://proxy.golang.org/github.com/nope/nope-qq/@latest": { |
| 837 | "status": 404, |
| 838 | "body": "not found: module github.com/nope/nope-qq: git ls-remote -q --end-of-options htt" |
| 839 | }, |
| 840 | "GET https://geocoding-api.open-meteo.com/v1/search?name=Sydney&count=1&language=en&format=json": { |
| 841 | "status": 200, |
| 842 | "body": { |
| 843 | "results": [ |
| 844 | { |
| 845 | "name": "Sydney", |
| 846 | "country": "Australia", |
| 847 | "latitude": -33.86785, |
| 848 | "longitude": 151.20732, |
| 849 | "timezone": "Australia/Sydney", |
| 850 | "elevation": 58.0 |
| 851 | } |
| 852 | ] |
| 853 | } |
| 854 | }, |
| 855 | "GET https://archive.org/wayback/available?url=nothing-here-qqzz.example": { |
| 856 | "status": 200, |
| 857 | "body": { |
| 858 | "url": "nothing-here-qqzz.example", |
| 859 | "archived_snapshots": {} |
| 860 | } |
| 861 | }, |
| 862 | "GET https://formulae.brew.sh/api/formula/wget.json": { |
| 863 | "status": 200, |
| 864 | "body": { |
| 865 | "name": "wget", |
| 866 | "desc": "Internet file retriever", |
| 867 | "homepage": "https://www.gnu.org/software/wget/", |
| 868 | "versions": { |
| 869 | "stable": "1.25.0" |
| 870 | } |
| 871 | } |
| 872 | }, |
| 873 | "GET https://pokeapi.co/api/v2/pokemon/pikachu": { |
| 874 | "status": 200, |
| 875 | "body": { |
| 876 | "id": 25, |
| 877 | "name": "pikachu", |
| 878 | "height": 4, |
| 879 | "weight": 60, |
| 880 | "types": [ |
| 881 | { |
| 882 | "slot": 1, |
| 883 | "type": { |
| 884 | "name": "electric" |
| 885 | } |
| 886 | } |
| 887 | ] |
| 888 | } |
| 889 | }, |
| 890 | "GET https://catfact.ninja/fact": { |
| 891 | "status": 200, |
| 892 | "body": { |
| 893 | "fact": "A cat has more bones than a human; humans have 206, and the cat - 230.", |
| 894 | "length": 70 |
| 895 | } |
| 896 | }, |
| 897 | "GET https://ll.thespacedevs.com/2.3.0/launches/upcoming/?limit=1&mode=list&hide_recent_previous=true": { |
| 898 | "status": 200, |
| 899 | "body": { |
| 900 | "count": 474, |
| 901 | "results": [ |
| 902 | { |
| 903 | "name": "Falcon 9 Block 5 | Starlink Group 15-18", |
| 904 | "net": "2026-10-30T04:02:00Z", |
| 905 | "status": { |
| 906 | "name": "Go for Launch" |
| 907 | } |
| 908 | } |
| 909 | ] |
| 910 | } |
| 911 | }, |
| 912 | "GET https://api.zippopotam.us/us/90210": { |
| 913 | "status": 200, |
| 914 | "body": { |
| 915 | "country": "United States", |
| 916 | "places": [ |
| 917 | { |
| 918 | "place name": "Beverly Hills", |
| 919 | "state": "California", |
| 920 | "latitude": "34.0901", |
| 921 | "longitude": "-118.4065" |
| 922 | } |
| 923 | ] |
| 924 | } |
| 925 | }, |
| 926 | "GET https://api.datamuse.com/words?rel_rhy=qqzzx&max=10": { |
| 927 | "status": 200, |
| 928 | "body": [] |
| 929 | }, |
| 930 | "GET https://archive.org/wayback/available?url=example.com": { |
| 931 | "status": 200, |
| 932 | "body": { |
| 933 | "url": "example.com", |
| 934 | "archived_snapshots": { |
| 935 | "closest": { |
| 936 | "status": "200", |
| 937 | "available": true, |
| 938 | "url": "http://web.archive.org/web/20261027205234/https://example.com/", |
| 939 | "timestamp": "20261027205234" |
| 940 | } |
| 941 | } |
| 942 | } |
| 943 | }, |
| 944 | "GET https://api.open-meteo.com/v1/forecast?latitude=59.91&longitude=10.75&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_probability_max&timezone=auto&forecast_days=2": { |
| 945 | "status": 200, |
| 946 | "body": { |
| 947 | "daily_units": { |
| 948 | "temperature_2m_max": "°C" |
| 949 | }, |
| 950 | "daily": { |
| 951 | "time": [ |
| 952 | "2026-10-28", |
| 953 | "2026-10-29" |
| 954 | ], |
| 955 | "weather_code": [ |
| 956 | 51, |
| 957 | 61 |
| 958 | ], |
| 959 | "temperature_2m_max": [ |
| 960 | 12.1, |
| 961 | 9.4 |
| 962 | ], |
| 963 | "temperature_2m_min": [ |
| 964 | 7.7, |
| 965 | 5.9 |
| 966 | ], |
| 967 | "precipitation_probability_max": [ |
| 968 | 21, |
| 969 | 80 |
| 970 | ] |
| 971 | } |
| 972 | } |
| 973 | }, |
| 974 | "GET https://api.open-meteo.com/v1/forecast?latitude=-33.86785&longitude=151.20732¤t=uv_index&daily=uv_index_max&timezone=auto&forecast_days=1": { |
| 975 | "status": 200, |
| 976 | "body": { |
| 977 | "current": { |
| 978 | "uv_index": 6.3 |
| 979 | }, |
| 980 | "daily": { |
| 981 | "uv_index_max": [ |
| 982 | 11.2 |
| 983 | ] |
| 984 | } |
| 985 | } |
| 986 | }, |
| 987 | "GET https://api.github.com/repos/astral-sh/uv": { |
| 988 | "status": 200, |
| 989 | "body": { |
| 990 | "full_name": "astral-sh/uv", |
| 991 | "description": "An extremely fast Python package and project manager, written in Rust.", |
| 992 | "language": "Rust", |
| 993 | "stargazers_count": 71234, |
| 994 | "forks_count": 2210, |
| 995 | "open_issues_count": 2004, |
| 996 | "html_url": "https://github.com/astral-sh/uv", |
| 997 | "archived": false |
| 998 | } |
| 999 | }, |
| 1000 | "GET https://api.github.com/repos/b-i-t-8/nothing-here": { |
| 1001 | "status": 404, |
| 1002 | "body": { |
| 1003 | "message": "Not Found" |
| 1004 | } |
| 1005 | }, |
| 1006 | "GET https://api.github.com/repos/b-i-t-8/busy": { |
| 1007 | "status": 403, |
| 1008 | "body": { |
| 1009 | "message": "API rate limit exceeded" |
| 1010 | } |
| 1011 | }, |
| 1012 | "GET https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY": { |
| 1013 | "status": 200, |
| 1014 | "body": { |
| 1015 | "date": "2026-10-28", |
| 1016 | "title": "Day and Night over the Clouds", |
| 1017 | "media_type": "image", |
| 1018 | "url": "https://apod.nasa.gov/apod/image/2610/example_1024.jpg", |
| 1019 | "explanation": "Sometimes it's night on the ground but day in the air." |
| 1020 | } |
| 1021 | } |
| 1022 | } |