Hi Adam,
Well done for finding the channels endpoint! This is a new endpoint we've recently added and not yet updated the documentation for. We're currently transitioning from a static list of channels to a more configuration-driven approach and haven't yet moved clients over to the new IDs, hence you're seeing that the IDs on the channels endpoint do not line up with the schedule endpoint. Also, the reason you're not seeing all channels on the channels endpoint is because the results are paginated. You can use the limit and offset parameters to control the results.
If you're using the Atlas Java client then you can use the channels as described in the org.atlasapi.media.entity.Channel class. This will be changing in the near future, and we'll be announcing on the list how people need to change their use of the Atlas client. If you're not using the Atlas client then let me know and we can provide you with a list of the channels and IDs until the schedule endpoint is moved to using the new IDs you see on the channels endpoint.
Finally, we've some other new features around channels that we'll also be announcing very soon, which will further assist in not having to maintain lists of channels in your client code.
Thanks,
Tom
There is an existing Python library. It uses the 2.0 API though, which
has since been discontinued. Might be somewhat helpfuk, though:
https://github.com/micrypt/atlas-client
Hat-tip to @micrypt
> Presumably the the class you mentioned, atlas-model/src/main/java/org/atlasapi/media/entity/Channel.java is what I should strip the ids from?
Yep, that's the one.