1
0
dust/examples/download.ds
2024-01-30 00:01:16 -05:00

11 lines
206 B
Plaintext

raw_data = download("https://api.sampleapis.com/futurama/cast")
cast_data = from_json(raw_data)
names = []
for cast_member in cast_data {
names += cast_member:name
}
assert_equal("Billy West", names:0)