Api接口:/api/random_article/
测试网址:http://article.spbeen.com/api/random_article/
解码方式【Python】:
x
import json, requestsurl = 'http://article.spbeen.com/api/random_article/'response = requests.get(url)article = response.json()print(article)结果:
x{title: "平凡最难",content: ["与几位演员在一起,谈到演戏的心得。","有一位说:"我喜欢演冲突性强的人物,",......],author: "林清玄"}