How do I get the information from an api?

axbeitaxbeit Member ✭✭
edited January 18 in Xamarin.Forms

Hey there. I am new to this topic and a bit confused. I used https://strapi.io/ to create an api. I got this link for me "http://localhost:1337/NewsTests" with this content:

"[{"titel":"lorem ipsum","date":"2019-01-17T12:00:00.000Z","text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.","_id":"5c41b03ddebbc8624780986a","createdAt":"2019-01-18T10:53:49.138Z","updatedAt":"2019-01-18T10:53:49.165Z","__v":0,"id":"5c41b03ddebbc8624780986a"}]"

And I dont know how to get that information to my Xamarin.Forms Crossplatform app.

I read trough this but as far as I can tell it is not a crossplatform app.

Can it be done as a crossplatform app? At first I thought it would be a simple task. Some kind of "take the link and get the title of the content" (this is what I actually just want to do atm). But after reading trough the documentation and looking at the sample code I got overwhelmed.

Best Answers

Answers

Sign In or Register to comment.