GithubHelp home page GithubHelp logo

Comments (13)

devvsakib avatar devvsakib commented on May 8, 2024 1

Hi @devvsakib I have worked upon APIs and this issue seems like having nested fetch calls. If the issue is still open, can I work on it ?

sure

from github-error-solve.

devvsakib avatar devvsakib commented on May 8, 2024 1

yes @iONBain

from github-error-solve.

MohamedAlDeep avatar MohamedAlDeep commented on May 8, 2024

did you find anything about fetching 2x, for me i am stuck in errors even when fetching 2x or i dont know if i am doing wrong way

from github-error-solve.

AniketNS avatar AniketNS commented on May 8, 2024

Hey @devvsakib, can you tell me how can I get started to solve this issue?

from github-error-solve.

MohamedAlDeep avatar MohamedAlDeep commented on May 8, 2024

@AniketNS do you mean in github?

from github-error-solve.

AniketNS avatar AniketNS commented on May 8, 2024

@MohamedAlDeep No not on GitHub. I've only fetched data from API in Postman. I don't know how to do that with GitHub API.

from github-error-solve.

AryanGodara avatar AryanGodara commented on May 8, 2024

Hello @devvsakib, can you please elaborate on this error?
I can work on this, as I have experience with using the github API, but I don't quite understand the issue, from the description, as in what I have to do in a PR.

from github-error-solve.

devvsakib avatar devvsakib commented on May 8, 2024

Actually, we need contributors' Twitter usernames. For this, we have to fetch individual user API. To get the individual user API link, first we have to fetch contributors API.
Contributors API : https://api.github.com/repos/devvsakib/github-error-solve/contributors

We will get the user API url from this. Then we will fetch user API again to get their details.

for example:

fetching contributors->
fetch(contUrl)
 .then(r=> r.json())
 .then(d=>d.url) // user API

now we will fetch user API

fetch(user)
 .then(r=> r.json())
 .then(d=> their details) // user details
 

@AryanGodara

from github-error-solve.

AryanGodara avatar AryanGodara commented on May 8, 2024

Actually, we need contributors' Twitter usernames. For this, we have to fetch individual user API. To get the individual user API link, first we have to fetch contributors API. Contributors API : https://api.github.com/repos/devvsakib/github-error-solve/contributors

We will get the user API url from this. Then we will fetch user API again to get their details.

for example:

fetching contributors->
fetch(contUrl)
 .then(r=> r.json())
 .then(d=>d.url) // user API

now we will fetch user API

fetch(user)
 .then(r=> r.json())
 .then(d=> their details) // user details
 

@AryanGodara

Thanks @devvsakib , I'll try to work on this issue during the weekend. Again sorry for delay, but I have hectic class schedule right now!

from github-error-solve.

iONBain avatar iONBain commented on May 8, 2024

Hi @devvsakib I have worked upon APIs and this issue seems like having nested fetch calls. If the issue is still open, can I work on it ?

from github-error-solve.

iONBain avatar iONBain commented on May 8, 2024

just to be sure, we need to add the code in documentation page, right?
path: src > Contributors > contributors.jsx

from github-error-solve.

iONBain avatar iONBain commented on May 8, 2024

Hi @devvsakib ! Created a PR #115. Have a look if everything looks good!

from github-error-solve.

iONBain avatar iONBain commented on May 8, 2024

i think we can close this issue

from github-error-solve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.