1
0
dust/examples/fetch.ds

9 lines
202 B
Plaintext
Raw Normal View History

raw_data = (download "https://api.sampleapis.com/futurama/cast")
2023-10-23 19:25:22 +00:00
cast_data = (from_json raw_data)
2023-10-06 12:17:37 +00:00
2023-10-23 19:25:22 +00:00
names = transform cast_member in cast_data {
cast_member.name
}
(assert_equal "Billy West", names.0)