על מנת להשתמש ב- GrabzIt מאחורי פרוקסי, עליך לציין את הגדרות חיבור ה- Proxy שלך. כדי להפוך את זה לפשט עוד יותר הפכנו את האשף למטה. פשוט הזן את פרטי ה- Proxy בטופס שלהלן ולחץ על ליצור כפתור ליצירת כתובת ה- proxy. אם ברצונך ליצור תצלומים משרת פרוקסי באזור אחר בעולם, עליך לעקוב הוראות אלה במקום.
לאחר שיצרת את כתובת ה- proxy לעיל, להלן דוגמה לשימוש בפרוקסי מקומי לכל שפת תכנות בה אנו תומכים. ממשק ה- API של JavaScript לא יבוצע מכיוון שכל בקשותיו יועברו דרך הדפדפן.
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); grabzIt.SetLocalProxy(""); grabzIt.URLToImage("http://www.spacex.com"); grabzIt.Save("http://www.example.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); grabzIt.SetLocalProxy(""); grabzIt.URLToImage("http://www.spacex.com"); grabzIt.Save("http://www.example.com/handler");
var grabzit = require('grabzit'); var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret"); client.set_local_proxy(""); client.url_to_image("http://www.spacex.com"); client.save("http://www.example.com/handler", function (error, id){ if (error != null){ throw error; } });
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $grabzIt->SetLocalProxy(""); $grabzIt->URLToImage("http://www.spacex.com"); $grabzIt->Save("http://www.example.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret") grabzIt.SetLocalProxy("") grabzIt.URLToImage("http://www.spacex.com") grabzIt.Save("http://www.example.com/handler.py")
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") grabzIt.set_local_proxy("") grabzIt.url_to_image("http://www.spacex.com") grabzItClient.save("http://www.example.com/handler/index")