Questions tagged [hacker-news-api]

Use this tag for questions about the Hacker News API. That is the API for the website that features computer news and startup companies. General questions about that site or hacking or being hacked are still off-topic.

Hacker News is a website for news primarily related to topics within computer science and entrepreneurship. The Hacker News API is used to access content posted on Hacker News.

Links

39 questions
0
votes
2 answers

How to use Hacker News API in Python?

Hacker News has released an API, how do I use it in Python? I want get all the top posts. I tried using urllib, but I don't think I am doing right. here's my code: import urllib2 response =…
shankaran
  • 13
  • 1
  • 3
-1
votes
0 answers

What's vulnerable about VNC running on open port 5900. And how to exploit it?

I want to connect to a vnc server running on port 5900. Well, over the internet.. I am a pentester and I want to check how secure the service is from outside. I have tried bruteforcing with metasploit auxiliary vnc_noAuth and a bruteforce has…
-1
votes
2 answers

Not able to display the contents of arraylist on the list view

I'm making a basic news reader app using hacker news API. I'm successfully able to get the titles and the url's of the news articles as JSON objects and add them to their respective arraylists as strings, but I'm unable to display the titles on the…
-1
votes
1 answer

Hacker-News Api information extraction

When I try and run this program it always shows KeyError and if I keep a try/except block no information gets printed. The error is generated at submission_dict at title as keyerror. at 16th line from operator import itemgetter import…
-2
votes
0 answers

I can't validate the user with Hydra

I am a newcomer to the security field, and as a developer, I wanted to test my websites and applications. That's when I came across Hydra. On my website, I tried to perform a brute force attack using a wordlist that contains only my username and…
Galin GdS
  • 1
  • 1
-2
votes
1 answer

Nuxt.js Hackernews API update posts without loading page every minute

I have a nuxt.js project: https://github.com/AzizxonZufarov/newsnuxt2 I need to update posts from API every minute without loading the page: https://github.com/AzizxonZufarov/newsnuxt2/blob/main/pages/index.vue How can I do that? Please help to end…
Azizxon Zufarov
  • 107
  • 1
  • 3
  • 8
-2
votes
1 answer

Sorting an object array in VueJs is not reading the function

I'm retrieving an object array from hackernews and trying to sort it by score here but nothing happens. The console outputs the exact same array under unsorted and sorted. What am I doing wrong here: created: function (){ …
zevex
  • 39
  • 3
-2
votes
1 answer

Do I need to use Firebase to access all Hacker News articles?

I have my Java server setup with all the appropriate packages (API, DAO, model, service, etc.). On the Hacker News (HN) website they explain that I should use Firebase to call their API. Do I need to configure Firebase to access all the HN articles…
Emeka A
  • 59
  • 1
  • 8
-2
votes
1 answer

uint8 to literal string representation

I'm trying to access the HackerNews API endpoint with a given ID 22024283 which represents a particular news item e.g https://hacker-news.firebaseio.com/v0/22024283.json This itemID is of type uint8and I need to convert this to it's string…
mangokitty
  • 1,759
  • 3
  • 12
  • 17
1 2
3