Questions tagged [stack-exchange-api]

Tasks involving using Stack Exchange API.

Filter by
Sorted by
Tagged with
3
votes
0answers
123 views

Golfed “User-pinging” [closed]

In this task, given a user's display name(e.g. Display Name) from which the first space has been removed, use the Code Golf & Coding Challenges' Stack Exchange API to find a user it could be and ...
2
votes
1answer
328 views

Race for the Steward Badge

Backstory If you visit the Steward Badge Page, you will see no one has received one of these badges from PPCG yet. However, there are two users: DJMcMayhem & Martin Ender , that are only a few ...
5
votes
0answers
263 views

Declare a Code Golf Winner

Normally, I'd open with some flavor text here about being bored and/or lazy but looking through the stack-exchange-api questions that would be far from original. So instead I'm going to open with a ...
17
votes
9answers
2k views

Answer to Vote Ratio

This question is inspired by the fact that I love seeing questions with equal vote and answer counts... So here's a simple stack-exchange-api challenge for y'all: Challenge: Given a ...
16
votes
7answers
2k views

What's my PPCG ID?

Challenge Given the name of a PPCG member, output their PPCG ID number. If the user does not exist, you may report an error or return any non-positive number. If there are multiple members with this ...
11
votes
2answers
352 views

Take me to your leaderboard [duplicate]

Have you ever found a good challenge to answer, answered it and then found out somebody posted a solution with a better score in the same language? Challenge Write a program/function that takes a ...
9
votes
15answers
2k views

What's my name?

Given a PPCG User ID, output that user's current username. Examples ...
0
votes
6answers
290 views

Is the question undeleted?

Challenge Given a positive integer, determine whether that number is currently being used to represent a question on PPCG. The question must not have been removed, but may be open or closed. The ...
8
votes
7answers
688 views

10 Clickbaits you can't resist

Write a program/function/script that takes a natural number i from 1 to 10 as input and outputs the URL of the Question with the i th hottest question on the Code Golf Portal The ordering should be ...
14
votes
2answers
364 views

Give me some questions to answer!

Introduction Sometimes I get bored and there are no new questions on PPCG, so I want you to dig a random question from PPCG's past. Challenge Given a user's PPCG ID as input (e.g. my ID is 30525), ...
8
votes
3answers
484 views

PPCG's Unanswered Questions

This dear StackExchange site has so many challenges, and so many good answers. But what about the challenges that were never answered? Task Write a program or a function that will print a pseudo-...
4
votes
1answer
243 views

Whose rep is tied?

Your challenge is to query the SE API and find out whose rep on PPCG is tied, and output it. If these were all the users on PPCG: ...
33
votes
10answers
3k views

Martin vs Dennis - Round 1: Who has more rep?

I know there have been a lot of challenges about "the two best code-golfers in the world", but this one is a bit more unique, being Round 1 in a series of (future) challenges involving the two of them....
14
votes
2answers
556 views

Am I outgolfed by Dennis?

According to legend, almost everyone is outgolfed by Dennis. If not, they will be. Now I'm curious if I'm one of those 'almost everyone'. You will be given a link to an answer in the format of ...
7
votes
2answers
153 views

Mean Reputation Change

Challenge Given a the ID for a PPCG user who has existed for at least a month, output the average amount of reputation they gain per month. You can do this by dividing their reputation by the time ...
7
votes
1answer
176 views

Mortarboard Challenge

Challenge Given a user's ID, determine how many times they have hit the repcap. Specs On a given day, let's a user has hit the repcap if they had reputation that wasn't gained due to the repcap. ...
15
votes
1answer
497 views

What would your reputation be without the rep cap?

In this challenge, you will calculate what your reputation would be, if the reputation cap didn't exist on PPCG. Everyone can access the rawdata for reputation changes on the adress: codegolf....
11
votes
3answers
492 views

Challenge Similarity Detector

Challenge Given two question IDs, try to figure out how similar they are by looking at the answers. Details You will be given two question IDs for ...
10
votes
5answers
249 views

Find a User's SE Reputation

Challenge Given a SE user's ID, output the sum of their reputation from across all of the Stack Exchange networks​ the user has signed up to. Rules If a user has 101 or less reputation on a site, ...
12
votes
5answers
997 views

Calculate a User's Reputation

Challenge Given a user's name (not ID, we have that challenge already), output their current reputation and their ID. Input Input will be a single string which is the user's username. You may ...
-4
votes
1answer
132 views

Make me a real-time reputation counter! [closed]

Recently, I have found my reputation changing time to time. I would like to know my reputation changing real-time. The job Given an id of a user on PPCG (ex.64499), Print the user's reputation every ...
13
votes
3answers
688 views

Suggest me a challenge!

I am too bored and want a challenge to solve. But I do not see any interesting challenges, and I am too lazy to search for one. Can you (Well, technically your code) suggest me one? I/O Input: None. ...
11
votes
4answers
735 views

Leaderboard golf

Golf the leaderboard of this question (id=111735). Your program should issue one HTTP or HTTPS request to StackExchange API, parse it and present to user in form similar to a typical Leaderboard ...
6
votes
7answers
541 views

Tell me about my question! [duplicate]

I'm a narcissist. (Not Really) I'm also very lazy... (Not Really) So I want to know the score of this question, and how many people have viewed it. But I'm too lazy to check myself... Challenge ...
4
votes
2answers
402 views

What's the most popular question right now?

Your task is to print the titles of the questions with the five highest scores (upvotes minus downvotes) here on CodeGolf.SE, while skipping over any closed, locked and on-hold questions. Currently ...
9
votes
1answer
251 views

Lord of the Golfs

Intro In J. R. R. Tolkien's Lord of the Rings, this phrase is on the cover of each book. ...
6
votes
3answers
652 views

Count the Bytes!

Challenge Write a program which takes the URL of a PPCG answer as input and outputs the length of the answer's first code block in bytes. Code Blocks There are three different ways of formatting ...
15
votes
5answers
1k views

Leave a Comment

Task: Make a program that leaves a comment on this question. The content should be 1234567890123456. Edits: You may leave your usernames and passwords as ...
39
votes
14answers
2k views

Stack Exchange Vote Counter

Write a program/function that returns the vote count of its own Stack Exchange answer at the time of its execution. Your program/function may access this page (codegolf.stackexchange.com/questions/...
19
votes
1answer
721 views

Detect Duplicate Questions

Detect Duplicate Questions Once upon a time, there was a golfing site. It had a problem: people would post similar or identical questions again and again. You have been chosen selected forced ...
16
votes
1answer
1k views

StackExchange Mustafa can't stand to be asked the same question three times

Austin: "Who sent you?" Mustafa: "You have to kill me!" Austin: "Who sent you?" Mustafa: "Kiss my ass, Powers!" Austin: "Who sent you?" Mustafa: "Dr. Evil." (...) ...
14
votes
4answers
877 views

Write code to determine the accepted answer

Post an answer to this question that evaluates any answer to this question and determines whether it wins. Who wins: Winner is the answer that wins according to the most answers at 1700 UTC, Sunday, ...
8
votes
4answers
718 views

Get list of badges on this site that nobody received yet

Make a code that gets list of badges that nobody received yet (for example, by using this website API for badges), and output the sorted list of such badges, with new line after each. Example output (...
21
votes
13answers
2k views

So… what is your StackOverflow score?

This is a simple one. Given the input of a number, return the name and reputation score of the Stack Overflow user with that given ID. Your program can assume that it is always given a valid and ...