Last active
January 26, 2024 15:18
-
-
Save nuoxoxo/962aab8f0a5dea2dcbc990033ed05bd3 to your computer and use it in GitHub Desktop.
GraphQL idea(s)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GET leetcode.com/graphql | |
query getDailyChallenge { | |
activeDailyCodingChallengeQuestion { | |
date | |
link | |
question { | |
questionId | |
title | |
titleSlug | |
difficulty | |
categoryTitle | |
likes | |
dislikes | |
topicTags { | |
name | |
} | |
hints | |
similarQuestionList { | |
questionId | |
title | |
titleSlug | |
difficulty | |
categoryTitle | |
topicTags{ | |
name | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dont know how to do it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# since lc disabled its api introspection feature | |
# we work with existing documented queries found online | |
# eg. heres how you get your own info. lets rock | |
query getUser { | |
matchedUser(username: "nuoxoxo") { | |
username | |
submitStats: submitStatsGlobal { | |
acSubmissionNum { | |
difficulty | |
count | |
submissions | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment