Geist on Nostr: OK, so when I pull the json data from nostr.band its coming in as an httpResponse, I ...
OK, so when I pull the json data from nostr.band its coming in as an httpResponse, I can convert it to a string indicie, but then I can only print data if I know what integer it starts at, I can't print the data like its a dictionary. Allegedly when python loads() a json it gets recorded as a dictionary but I keep getting invalid key value errors if I try to reference that data directly. 😤
Published at
2023-08-14 07:08:16Event JSON
{
"id": "1056393694f2a13029c126e7a15a50fef37483b5ab73131b229b65ab966f4a69",
"pubkey": "e478da9689938a64bfe99645cafd4365b189d0ed20cae2e4e9acac3898542be6",
"created_at": 1691996896,
"kind": 1,
"tags": [
[
"r",
"nostr.band"
]
],
"content": "OK, so when I pull the json data from nostr.band its coming in as an httpResponse, I can convert it to a string indicie, but then I can only print data if I know what integer it starts at, I can't print the data like its a dictionary. Allegedly when python loads() a json it gets recorded as a dictionary but I keep getting invalid key value errors if I try to reference that data directly. 😤",
"sig": "04f0ed765a379a8a1b321822af613581586fcd184877c99a97a9472f519099a5cc061a05990c8c53c8ba8a3b3f06b6e9301e310b7a904a0bff4991d76b89023a"
}