npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wpu-open-api

v1.0.1

Published

Wpu OpenApi Package

Downloads

5

Readme

WPU-OpenAPI

Official WPU-OpenAPI Package NPM

Get Started

Install Via NPM:

$ npm install wpu-open-api

Cara Menggunakan

const wpuopenapi = require('wpu-open-api');

/*
wpuopenapi.jenis-modul.nama-modul(params)
.then(res => console.log(res))
.catch(err => console.log(err))
*/

Film API

//Contoh!
wpuopenapi.apiFilm.bioskopcomingsoon()
.then(res => console.log(res))
.catch(err => console.log(err))

Output :

{
  status: 200,
  maintainer: 'Zahirrrr',
  hasil: [
    {
      url: 'https://jadwalnonton.com/film/2021/old/',
      title: 'OLD',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/old-21011500_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/snake-eyes/',
      title: 'SNAKE EYES',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/snake-eyes-21011400_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/hard-hit/',
      title: 'HARD HIT',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/hard-hit-21011200_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/the-boss-baby-family-business/',
      title: 'THE BOSS BABY: FAMILY BUSINESS',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/the-boss-baby-family-business-21010900_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/escape-room-tournament-of-champions/',
      title: 'ESCAPE ROOM: TOURNAMENT OF CHAMPIONS',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/escape-room-tournament-of-champions-21011100_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/space-jam-a-new-legacy/',
      title: 'SPACE JAM: A NEW LEGACY',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/space-jam-a-new-legacy-21sjan_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/stillwater/',
      title: 'STILLWATER',
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/stillwater-21010700_300x450.jpg'
    },
    {
      url: 'https://jadwalnonton.com/film/2021/the-hitmans-wifes-bodyguard/',
      title: "THE HITMAN'S WIFE'S BODYGUARD",
      img: 'https://www.jadwalnonton.com/data/images/movies/2021/the-hitmans-wifes-bodyguard-18hbo2_300x450.jpg'
    }
  ]
}

| nama modul | params | response | description | | :--- | :---------- | :--- | :--- | | bioskopcomingsoon | page | JSON | Mencari data film bioskop yang akan hadir | | animesearch | page && search | JSON | Mencari film anime dari web nekonime.vip |

Bmkg API

//Contoh!
wpuopenapi.apiBmkg.gempaterkini()
.then(res => console.log(res))
.catch(err => console.log(err))

Output :

{
  status: 200,
  maintainer: 'Zahirrrr',
  hasil: [
    {
      waktu: '29 Agustus 2021, 07:37:30 WIB',
      magnitudo: '4.2',
      kedalaman: '10 km',
      lokasi: '3.92 LS - 122.90 BT'
    }
  ]
}

| nama modul | params | response | description | | :--- | :---------- | :--- | :--- | | gempaterkini | - | JSON | Menampilkan Data gempa terkini di Indonesia | | infoiklim | - | JSON | Menampilkan Gambar info iklim di Indonesia | | citrasatelit | - | JSON | Menampilkan Gambar citra satelit Indonesia | | prakiraangelombang | - | JSON | Menampilkan Gambar Prakiraan Gelombang di Indonesia | | prakiraanangin | - | JSON | Menampilkan Gambar Prakiraan Angin di Indonesia | | potensikebakaran | - | JSON | Menampilkan Gambar Potensi Kebakaran Hutan di Indonesia | | cuacapenerbangan | - | JSON | Menampilkan Data Cuaca Penerbangan di Indonesia |

Wallpaper API

//Contoh!
wpuopenapi.apiWallpaper.search('anime', '4')
.then(res => console.log(res))
.catch(err => console.log(err))

Output :

{
  status: 200,
  maintainer: 'Zahirrrr',
  hasil: [
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/450/718/555/anime-your-name-kimi-no-na-wa-wallpaper-preview.jpg',
      judul: 'anime, Your Name, Kimi no Na Wa HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/914/26/575/fate-series-fate-apocrypha-anime-girls-saber-of-red-wallpaper-preview.jpg',
      judul: 'yellow-haired anime character, Fate Series, Fate/Apocrypha, anime girls HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/45/141/247/studio-ghibli-spirited-away-chihiro-hayao-miyazaki-wallpaper-preview.jpg',
      judul: 'Studio Ghibli, Spirited Away, Chihiro, Hayao Miyazaki, anime HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/819/499/757/haikyuu-anime-boys-hinata-shouyou-kageyama-tobio-wallpaper-preview.jpg',
      judul: 'Haikyuu!!, anime boys, Hinata Shouyou, Kageyama Tobio HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/226/867/800/kimetsu-no-yaiba-kamado-tanjirō-anime-boys-hd-wallpaper-preview.jpg',
      judul: 'Kimetsu no Yaiba, Kamado Tanjirō, anime boys HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/259/163/824/jujutsu-kaisen-anime-tv-series-hd-wallpaper-preview.jpg',
      judul: 'Jujutsu Kaisen, anime tv series HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/894/346/573/shingeki-no-kyojin-mikasa-ackerman-anime-anime-girls-wallpaper-preview.jpg',
      judul: 'brown-haired female anime character wallpaper, Shingeki no Kyojin HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/508/596/918/anime-demon-slayer-kimetsu-no-yaiba-shinobu-kochou-hd-wallpaper-preview.jpg',
      judul: 'Anime, Demon Slayer: Kimetsu no Yaiba, Shinobu Kochou HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/1018/756/882/anime-neon-genesis-evangelion-wallpaper-preview.jpg',
      judul: 'anime, Neon Genesis Evangelion, night, astronomy, star - space HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/719/114/325/anime-naruto-itachi-uchiha-wallpaper-preview.jpg',
      judul: 'Anime, Naruto, Itachi Uchiha HD wallpaper'
    },
    {
      image: 'https://c4.wallpaperflare.com/wallpaper/280/611/595/anime-violet-evergarden-violet-evergarden-character-wallpaper-preview.jpg',
      judul: 'brown-haired female anime character, Violet Evergarden, Violet Evergarden (Character) HD wallpaper'
    }
  ]
}

| nama modul | params | response | description | | :--- | :---------- | :--- | :--- | | wallpaper | search & page | JSON | Mencari gambar wallpaper dalam format JSON |

Kemdikbud API

//Contoh!
wpuopenapi.apiKemdikbud.kbbi('mobil')
.then(res => console.log(res))
.catch(err => console.log(err))

Output :

{
  maintainer: 'Zahirrr',
  lema: 'mo.bil1 ',
  arti: [
    'kendaraan darat yang digerakkan oleh tenaga mesin, beroda empat atau lebih (selalu genap), biasanya menggunakan bahan bakar minyak untuk menghidupkan mesinnya; oto; otomobil',
    'mudah bergerak (berpindah) atau digerakkan (dipindah-pindahkan): ia sangat -- sehingga cocok untuk melakukan tugas luar'
  ]
}

| nama modul | params | response | description | | :--- | :---------- | :--- | :--- | | kbbi | kata | JSON | Mencari arti kata di Kamus Besar Bahasa Indonesia |

Islamic API

//Contoh!
wpuopenapi.apiIslamic.datamasjid('dki-jakarta', '8')
.then(res => console.log(res))
.catch(err => console.log(err))

Output :

{
  createdBy: 'ZSofttt',
  status: 200,
  hasil: [
    {
      nomer: '61',
      nama: 'Mushalla Al-Khairat',
      url: 'https://www.dream.co.id/sim/dki-jakarta-kota-adm-jakarta-barat-grogol-petamburan-mushalla-al-khairat-7hmrb.html',
      tahunBerdiri: '1975',
      alamat: 'Jl.Sosial Rt.04/02',
      kota: 'KOTA ADM. JAKARTA BARAT',
      kecamatan: 'Grogol Petamburan',
      provinsi: 'DKI JAKARTA',
      jenis: 'MUSHALLA PERUMAHAN',
      status: 'Wakaf'
    },
    {
      nomer: '62',
      nama: 'Mushalla Ad-darul ulum',
      url: 'https://www.dream.co.id/sim/dki-jakarta-kota-adm-jakarta-barat-grogol-petamburan-mushalla-ad-darul-ulum-sy0vj.html',
      tahunBerdiri: '1972',
      alamat: 'Jl.Karya barat Rw.03',
      kota: 'KOTA ADM. JAKARTA BARAT',
      kecamatan: 'Grogol Petamburan',
      provinsi: 'DKI JAKARTA',
      jenis: 'MUSHALLA DI TEMPAT PUBLIK',
      status: 'Wakaf'
    }
  ]
}

| nama modul | params | response | description | | :--- | :---------- | :--- | :--- | | datamasjid | provinsi & page | JSON | Menampilkan data masjid di Indonesia |

Note : untuk melihat listkota, gunakan ini :

wpuopenapi.apiIslamic.liskotamasjid()
.then(res => console.log(res))
.catch(err => console.log(err))

Credits

  • WPU Community

Maintainer

  • Zahirrr

Link Packages

https://www.npmjs.com/package/wpu-open-api