Closed lukasbicus closed 11 years ago
Hi,
once you call http://www.khanacademy.org/api/v1/topic/NODE_SLUG
you should be able to detect domain of your NODE_SLUG with help of property: "domain_slug".
It works perfectly for example for: http://www.khanacademy.org/api/v1/topic/cc-3rd-adding-carrying http://www.khanacademy.org/api/v1/topic/math
But there are cases, when it doesn't works: http://www.khanacademy.org/api/v1/topic/new-and-noteworthy http://www.khanacademy.org/api/v1/topic/text-basics http://www.khanacademy.org/api/v1/topic/cs
Can you take look on it? Thanks, Lukas.
Not every topic is within a domain. Math is a domain, but Computer Science is not, and New and Noteworthy is not a child of any domain.
Hi,
once you call http://www.khanacademy.org/api/v1/topic/NODE_SLUG
you should be able to detect domain of your NODE_SLUG with help of property: "domain_slug".
It works perfectly for example for: http://www.khanacademy.org/api/v1/topic/cc-3rd-adding-carrying http://www.khanacademy.org/api/v1/topic/math
But there are cases, when it doesn't works: http://www.khanacademy.org/api/v1/topic/new-and-noteworthy http://www.khanacademy.org/api/v1/topic/text-basics http://www.khanacademy.org/api/v1/topic/cs
Can you take look on it? Thanks, Lukas.