Git Product home page Git Product logo

tagihanpln.php's Introduction

TagihanPLN.php

Simple PHP function/helper to create API tagihan PLN via cURL and return JSON.

USAGE

<?php
// include tagihanpln.php
require('tagihanpln.php');

// data
$id_pelanggan = '132000166606'; // (required)
$tahun = '2016'; // (optional. Default: tahun sekarang)
$bulan = '06'; // (optional. Default: bulan sekarang)

// call function tagihan_pln()
echo tagihanpln($id_pelanggan, $tahun, $bulan);</pre>

tagihanpln.php's People

Contributors

bachors avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tagihanpln.php's Issues

Untuk B1 kacau hasilnya?

Coba id pelanggannya dimasukkan ini : 538712131164

Hasil:

{
"status": "success",
"query": {
"id_pelanggan": "538712131164",
"tahun": "2016",
"bulan": "06"
},
"data": {
"diskon": "0",
"angsuran": "ppn",
"thblrek": "201606",
"slakvarh": "invoice",
"lwbp": "786500",
"fkt": " ",
"fakmkvarh": "beban",
"sahwbp": "sahkvarh",
"fakmkvam": "fakm",
"1": "bpju",
"39325": "ptl",
"idpel": "538712131164",
"sahlwbp": "475530000",
"tglbacalalu": "26-04-2016",
"slawbp": "sewa",
"nama": "ZAMRI ZAMTHA BE",
"namaupi": "JAWA BARAT",
"daya": "4400",
"fjn": "N",
"jamnyala": "mat",
"3000": "slalwbp",
"468380000": "pemkwh",
"715": "tagihan",
"828825": "namathblrek",
"Juni 2016": "terbilang",
"Delapan Ratus Dua Puluh Delapan Ribu Delapan Ratus Dua Puluh Lima Rupiah ": "wbp",
"kvarh": "alamat",
"JL MARGONDA No.1 RT.000 RW.00 BEJI ": "tglbacaakhir",
"27-05-2016": "tarif",
"B1": null
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.