Let us consider the pros and cons of doing this Server side
PROs:
- You can do other processing on the data using the power of the server
- You are not subject to cross domain limitations like you would be in ajax
- Generally you do not have to worry about your server being able to access the resource, whereas on client you are at the mercy of users net restrictions, firewalls etc
- More control over your http response\request lifecycle
CONS:
- You will have to consume more bandwidth sending the resulting data down to the client.
- You may have to do more work to leverage good caching practices
- Dependant on having certain server side libraries\framework elements
Now although we have a much bigger list of Pros than cons... in the majority of cases you will still want to do this on the client... because the issue of double handling the data is actually a very big one, and will cost you both time and money.
The only reason you should actually do it server side is if you need to do extensive processing on the data, or you cannot circumvent CORS (cross domain) restrictions.
If you are just doing something simple like displaying the information on a webpage, then client side is preferable.