You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up a daily post to #leetcode_discussion forum for the daily problem that releases at 7 PM over here. Better than having a user post it manually every night.
There's an existing GraphQL query that should be able to handle this:
POST https://leetcode.com/graphql/
query questionOfToday {
activeDailyCodingChallengeQuestion {
date
userStatus
link
question {
acRate
difficulty
freqBar
frontendQuestionId
isFavor
paidOnly
status
title
titleSlug
hasVideoSolution
hasSolution
topicTags {
name
id
slug
}
}
}
}
The text was updated successfully, but these errors were encountered:
this is very doable. go ahead and do it! here are some guidelines in case you haven't contributed before.
create a new Job
schedule it to run at 7pms (most of our jobs just run on time intervals, so there may be some changes to make this work well. if so, this should be its own PR/commit)
manually POST or find a graphql lib and do it. i dont think we consume any graphql api's rn.
Set up a daily post to #leetcode_discussion forum for the daily problem that releases at 7 PM over here. Better than having a user post it manually every night.
There's an existing GraphQL query that should be able to handle this:
The text was updated successfully, but these errors were encountered: