Giter VIP home page Giter VIP logo

Comments (7)

vn7n24fzkq avatar vn7n24fzkq commented on May 31, 2024 1

That's odd.

I will investigate it on the weekend.

from github-profile-summary-cards.

leo-schick avatar leo-schick commented on May 31, 2024 1

Yes 🙌 would be great to have this feature. Maybe use a parameter to define if the given name is a user or organization

from github-profile-summary-cards.

leo-schick avatar leo-schick commented on May 31, 2024

Same for me, but profile-summary-for-github.com works with organizations quite fine

from github-profile-summary-cards.

vn7n24fzkq avatar vn7n24fzkq commented on May 31, 2024

Hi, I just found the cause.

In GitHub Graph API, user and organization data use different query.

Organization :

{
  organization(login: "facebook") {
    id
  }
}

User :

{
  user(login: "vn7n24fzkq") {
    id
  }
}

You can find it in the API explorer
https://docs.github.com/en/graphql/overview/explorer

We can add the getting organization cards feature if this is useful.

What do you think?
In my opinion, I think we can add the organization parameter. (Auto-detection would make it easier to use, but make more unnecessary API requests)

from github-profile-summary-cards.

vn7n24fzkq avatar vn7n24fzkq commented on May 31, 2024

Good! I will add this feature.

from github-profile-summary-cards.

RudraSen2 avatar RudraSen2 commented on May 31, 2024

Any progress?

from github-profile-summary-cards.

vn7n24fzkq avatar vn7n24fzkq commented on May 31, 2024

Not started this one yet.

I will add a parameter here.

And some data from GitHub GraphQL API may have different formats or even not exist between user and organization, so need to do some investigation here.

from github-profile-summary-cards.

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.