Closed LukasBicus closed 10 years ago
Hi,
once you call http://www.khanacademy.org/api/v1/topic/NODE_SLUG
you should be able to see path to your current position of your NODE_SLUG in topic tree with help of property: "relative_url"
It works perfectly for example for: http://www.khanacademy.org/api/v1/topic/cs http://www.khanacademy.org/api/v1/topic/new-and-noteworthy
But there are cases, when it doesn't works: http://www.khanacademy.org/api/v1/topic/math http://www.khanacademy.org/api/v1/topic/humanities
Can you take look on it? Thanks, Lukas.
There's no page on the site for the Math or Humanities topics so relative_url is null here.
Hi,
once you call http://www.khanacademy.org/api/v1/topic/NODE_SLUG
you should be able to see path to your current position of your NODE_SLUG in topic tree with help of property: "relative_url"
It works perfectly for example for: http://www.khanacademy.org/api/v1/topic/cs http://www.khanacademy.org/api/v1/topic/new-and-noteworthy
But there are cases, when it doesn't works: http://www.khanacademy.org/api/v1/topic/math http://www.khanacademy.org/api/v1/topic/humanities
Can you take look on it? Thanks, Lukas.