Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Method to request Json Information for a language in the languages folder. #140

Open
Tc2r1 opened this issue Oct 24, 2022 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Tc2r1
Copy link
Owner

Tc2r1 commented Oct 24, 2022

Add Method to request Json Information for a language in the languages folder.

Skill Level: Easy

  1. Navigate to [MODULE]/repository.tc2rgithubrepository.source.remote.Tc2rGithubService

  2. Add a request method to get both the Answers.json and Questions.json from a missing language folder so that application may have a way of retrieving information for more than one type of quiz.

Example:

@GET("Tc2r1/DevInterview_Questions/master/Languages/Android/answers.json")
suspend fun requestAndroidAnswers(): Response<AnswersResponse>

// Gets answers objects
@GET("Tc2r1/DevInterview_Questions/master/Languages/Android/questions.json")
suspend fun requestAndroidQuestionsJson(): Response<QuestionsResponse>


### Optionally: 
Additionally create the methods that will evoke these calls. 
@github-actions
Copy link

This issue has been assigned to @Shrikant-Wankhade!
It will become unassigned if it isn't closed within 7 days.
A maintainer can also add the Pinned label to prevent it from being unassigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants