Accessing an API | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Accessing an API

Is someone willing to work with me in creating an advanced lesson for C# that teaches the connection of a single JSON API to an application? I feel as though this kind of step is essential to getting deeper into development for all developers. Also introducing new developers to a more interactive way to generate and track content for an application. Also making mention of programs such as Postman to assist in Get, Set, Post operations for API. If a quiz has already been created then could you point me in its direction?

5th May 2019, 10:44 PM
LecherousCthulhu
LecherousCthulhu - avatar
6 Answers
+ 1
You could also have the test taker write an api as the start of a course (over several information dumps and quizzes like sololearn does) and then call an outside generic version of that api as the second half and end of the course. That way the test taker gets a full understanding of how an api can be created and used. It would probably be a course as long as learning a language.
16th May 2019, 5:30 AM
LecherousCthulhu
LecherousCthulhu - avatar
+ 1
The final test would be giving documentation that the user could see in the app. Having them use this documentation to make a basic call to a generic api on sololearn. Something that is easy enough to get ahold of and would stay within the boundaries of simplicity. Url/question-diffculty/question-topic/multiple-or-boolean/number-of-questions As a general concept for the call
16th May 2019, 5:39 AM
LecherousCthulhu
LecherousCthulhu - avatar
+ 1
In reality the Json would be 1 or 2 questions per topic and no more than 3 topics to choose from. This way people can easily understand the documentation without having to memorize a lot. This is still enough information and general usage to get their beek wet and be able to expand themselves.
16th May 2019, 5:43 AM
LecherousCthulhu
LecherousCthulhu - avatar
+ 1
We wouldn't go into details such as performing these actions within a gui. We would ask the student to apply these API to string objects that would have very simple command line responses as that doesn't really require any extra on sololearns part if they expanded this and allowed more usage of it on the code playground
16th May 2019, 5:46 AM
LecherousCthulhu
LecherousCthulhu - avatar
0
It could be in the future, because it is POSSIBLE to download API and import it to a cloud drive like Google Drive. And you import that API from G.Drive to this
11th May 2019, 1:39 PM
gaTriX GD
gaTriX GD - avatar
0
We would probably need to add Async to the beginner course and show the student how to make sure commands follow an asynchronous model. Having 3 processes go at the same time and awaiting till all processes complete.
24th Jun 2019, 6:41 AM
LecherousCthulhu
LecherousCthulhu - avatar