New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/filbertkm/wikiapi

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/filbertkm/wikiapi

  • v0.0.0-20220908120313-d7ea5a402f01
  • Source
  • Go
  • Socket score

Version published
Created
Source

Wiki API

Get short descriptions for any Wikipedia page

API docs

http://localhost:9090/docs

Examples

Default lang = en

http://localhost:9090/page/Berlin

{
"title": "Berlin",
"lang": "en",
"description": "Capital and largest city of Germany",
"source": "local"
}

Get description, with fallback to Wikidata if there is no SHORTDESC in the Wikipedia page:

http://localhost:9090/page/Berlin?lang=de&fallback=true

{
"title": "Berlin",
"lang": "de",
"description": "Hauptstadt und Land der Bundesrepublik Deutschland",
"source": "central"
}

FAQs

Package last updated on 08 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc