વેબને કેપ્ચર અને કન્વર્ટ કરવા માટેનાં સાધનો

સ્થાન વિશિષ્ટ સ્ક્રીનશોટ

GrabzIt નું API અને Screenનલાઇન સ્ક્રીનશોટ ટૂલ બંને સપોર્ટ લોકેશન વિશિષ્ટ સ્ક્રીનશshotsટ્સ, જે કોઈ ચોક્કસ દેશમાંથી લેવામાં આવેલા સ્ક્રીનશોટ છે. ડિફોલ્ટ ભૌગોલિક સ્થાન કે જેનો સ્ક્રીનશોટ લેવામાં આવે છે, તે સામાન્ય રીતે ઝડપી સ્થાન ઉપલબ્ધ છે. જો તમે અમારા કોઈપણ API નો ઉપયોગ કરતી વખતે સ્ક્રીનશોટ લેવામાં આવે તે સ્થાનને બદલવા માંગતા હો, તો પછી દેશના પરિમાણને સિંગાપોર માટે "એસજી", યુનાઇટેડ કિંગડમ માટે "યુકે" અથવા યુનાઇટેડ સ્ટેટ્સ માટે "યુએસ" માં બદલો.

યુનાઇટેડ સ્ટેટ્સ, યુનાઇટેડ કિંગડમ અને સિંગાપોરને કેપ્ચર સર્વર સ્થાનો તરીકે પસંદ કરવામાં આવ્યા હતા કારણ કે આ સ્થાનો વિશ્વને વિભાજિત કરે છે intઓ લગભગ ત્રણ સમાન ભાગો એટલે કે કોઈપણ વૈશ્વિક વેબસાઇટને ઝડપી ઉપયોગમાં લેવાનું શક્ય હોવું જોઈએ ભૌગોલિક લક્ષ્યાંકન. એ પણ નોંધો કે નકશામાં બતાવ્યા પ્રમાણે યુ.એસ. સ્ક્રીનશshotટ અમારા ન્યુ યોર્ક, શિકાગો અથવા મિયામી કેપ્ચર સર્વરોનો ઉપયોગ કરીને લેવામાં આવશે, જ્યારે યુકેનો સ્ક્રીનશોટ અમારા લંડનના ડેટા સેન્ટરથી લેવામાં આવશે.

જો તમે ઇચ્છો છો કે સ્ક્રીનશોટ કોઈ અલગ દેશમાંથી હાલમાં ઉપલબ્ધ હોય ત્યાં લઈ જવામાં આવે સંપર્ક આધાર, જો નવા દેશની પૂરતી માંગ હોય તો અમે તેને ઉમેરી શકીએ!

દરેક પ્રોગ્રામિંગ ભાષા GrabzIt સપોર્ટ કરે છે તે માટે, દેશ ક aપ્ચરમાંથી કેવી રીતે કબજે લેશે તેનું ઉદાહરણ નીચે બતાવેલ છે.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.Country = Country.US;
grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.SaveTo("spacex.jpg");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setCountry(Country.UNITEDSTATES);
grabzIt.URLToImage("http://www.spacex.com", options);
grabzIt.SaveTo("spacex.jpg");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com", {"country":"US"}).Create();
</script>
var grabzit = require('grabzit');
var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
var options = {"country":"US"};
client.url_to_image("http://www.spacex.com", options);
client.save_to("spacex.jpg", function (error, id){
    if (error != null){
        throw error;
    }
});
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = GrabzItImageOptions->new();
$options->country("US");
$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->SaveTo("spacex.jpg");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setCountry("US");
$grabzIt->URLToImage("http://www.spacex.com", $options);
$grabzIt->SaveTo("spacex.jpg");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.country = "US"
grabzIt.URLToImage("http://www.spacex.com", options)
grabzIt.SaveTo("spacex.jpg")
https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=jpg&country=US&url=http%3A%2F%2Fwww.spacex.com
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.country = "US"
grabzIt.url_to_image("http://www.spacex.com", options)
grabzIt.save_to("spacex.jpg")