Skip to content

Instantly share code, notes, and snippets.

@cubeee
cubeee / GePrice.gs
Created May 28, 2015 10:05
Get accurate price of items in Google Spreadsheets
Object.size = function(obj) {
var size = 0, key;
for (key in obj) {
if (obj.hasOwnProperty(key)) size++;
}
return size;
};
function GePrice(itemId) {
var jsondata = UrlFetchApp.fetch("http://services.runescape.com/m=itemdb_rs/api/graph/" + itemId + ".json");
<?php
$luku1 = $_POST['luku1'];
$luku2 = $_POST['luku2'];
$luku3 = $_POST['luku3'];
$luku4 = $_POST['luku4'];
$luku5 = $_POST['luku5'];
$luku6 = $_POST['luku1'];
$luku7 = $_POST['luku2'];
$luku8 = $_POST['luku3'];