مكتبات العملاء ونموذج التعليمات البرمجية
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ملاحظة مهمة:
سنتوقف عن إتاحة الإصدار 2.0 من Google Data API في 30 أيلول (سبتمبر) 2024.
لضمان استمرار الوظائف، عليك تحديث تطبيقاتك التي تعتمد على الإصدار 2.0 من Google Data API إلى أحدث إصدار من واجهة برمجة التطبيقات.
للحصول على أحدث إصدار، استخدِم الروابط في شريط التنقّل الأيمن.
ملاحظة: ستظلّ بعض طلبات GET (مثل إدراج المشاركات) متاحة كعنوان URL للخلاصة، ولكن هناك اختلافات طفيفة في سلوكها.
للاطّلاع على معلومات مفصّلة، راجِع مستندات مساعدة Blogger.
تتوفّر مكتبات عملاء البيانات من Google لمساعدتك في كتابة تطبيقات العملاء التي تستخدم Blogger Data API.
بالنسبة إلى كل لغة، توفر مكتبة البرامج أدوات وطبقة مجرّدة، ما يتيح لك إنشاء طلبات بحث واستخدام بيانات الاستجابة بدون الحاجة إلى إنشاء طلبات HTTP أو معالجة استجابات HTTP يدويًا. توفر كل مكتبة برامج فئات تتوافق مع العناصر وأنواع البيانات التي تستخدمها واجهة برمجة التطبيقات. وتوفر كل مكتبة برامج أيضًا إضافات لخدمات محدّدة من Google تتضمن Data APIs.
مكتبة عملاء Java
تقدّم Google مكتبة برامج Java
مكتبة برامج NET.
توفّر Google مكتبة برامج .NET وهي تتيح تطوير تطبيقات أجهزة الكمبيوتر المكتبي والويب والتطبيقات للأجهزة الجوّالة.
مكتبة عملاء PHP
توفّر Zend مكتبة برامج لغة PHP كجزء من إطار عمل Zend. يتوفّر أيضًا كإصدار مستقلّ.
مكتبة عملاء Python
توفّر Google مكتبة برامج Python، وهي تتيح تطوير
تطبيقات سطر الأوامر والويب وتطبيقات Google App Engine.
مكتبة برامج JavaScript
توفّر مكتبة برامج JavaScript إمكانات كاملة للقراءة/الكتابة من داخل JavaScript. يتوفر أيضًا إذن بالقراءة فقط من خلال ملف JSON RAW.
مكتبة عملاء Objective-C
تتيح مكتبة برامج Objective-C إمكانية كتابة تطبيقات Cocoa الأصلية لنظام التشغيل Mac OS X، وتتيح الآن استخدام حزمة تطوير البرامج (SDK) لأجهزة iPhone.
مكتبات العملاء الخارجية
مكتبات البرامج التالية غير مكتوبة من قِبل Google، وهي غير متاحة لدى Google.
نموذج التعليمات البرمجية
في ما يلي بعض نماذج البرامج التي توضح كيفية استخدام واجهة برمجة التطبيقات ومكتبات العميل. استخدمها لمساعدتك على البدء!
- Java
- .NET
- PHP
- Python
- JavaScript
- الهدف-ج
- غير ذلك
الفيديوهات التعليمية
مقالات لمساعدتك في إكمال عملية الإعداد بسرعة، أو تصحيح الأخطاء، أو استخدام لغتك المفضّلة مع Google Data APIs. راجِع صفحة المقالات للاطّلاع على البيانات الكاملة.
الرجوع إلى الأعلى
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eSupport for the v2.0 Google Data API will end on September 30, 2024; update your applications to the latest API version for continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available in Java, .NET, PHP, Python, JavaScript, and Objective-C to simplify interactions with the Blogger Data API.\u003c/p\u003e\n"],["\u003cp\u003eSample code and tutorials are provided to help developers get started with using the API and client libraries in various programming languages.\u003c/p\u003e\n"],["\u003cp\u003eWhile some GET requests will continue working as feed URLs after the v2.0 deprecation, there might be slight differences in behavior.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Blogger Help documentation for detailed information about the API and the transition to the latest version.\u003c/p\u003e\n"]]],[],null,["# Client Libraries and Sample Code\n\n**Important** :\nWe will discontinue support for the v2.0 Google Data API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 Google\nData API to the latest API version.\nFor the latest version, use the links in the left-side navbar.\nNote: while some GET requests (such as listing posts) will continue to be supported as feed\nURLs, there are minor differences in their behavior.\nFor detailed information, refer to the\n[Blogger Help](https://support.google.com/blogger/answer/14877110) documentation.\n\nGoogle Data client libraries are available to help you write client\napplications that use the Blogger Data API.\n\nFor each language, the client library provides tools and an abstraction\nlayer, letting you construct queries and use response data without having to\ncreate HTTP requests or process HTTP responses by hand. Each client library\nprovides classes that correspond to the elements and data types that the API\nuses. Each client library also provides extensions for specific Google\nservices that have Data APIs.\n\nJava client library\n-------------------\n\nThe Java client library is provided by Google\n\n- [Getting Started Guide](/gdata/articles/java_client_lib)\n- [Blogger Developer's Guide for Java](/blogger/docs/2.0/developers_guide_java)\n- [Reference Guide](/gdata/javadoc) (Javadoc)\n- [Article on Using Eclipse with the Java client library](/gdata/articles/eclipse)\n- [Project main page](//code.google.com/p/gdata-java-client) (Subversion)\n- [Downloads page](//code.google.com/p/gdata-java-client/downloads/list)\n\n.NET client library\n-------------------\n\nThe .NET client library is provided by Google and allows desktop, web and\nmobile application development.\n\n- [Getting\n Started Guide](/gdata/articles/dotnet_client_lib)\n- [Blogger Developer's Guide for .NET](/blogger/docs/2.0/developers_guide_dotnet)\n- [Reference Guide](//code.google.com/apis/gdata/csdoc) (NDoc)\n- [Project main page](//code.google.com/p/google-gdata) (Subversion)\n- [Downloads page](//code.google.com/p/google-gdata/downloads/list)\n\nPHP client library\n------------------\n\nThe PHP client library is provided by Zend, as part of the Zend\nFramework. It is also available as a standalone release.\n\n- [Getting Started Guide](/gdata/articles/php_client_lib)\n- [Blogger Developer's Guide for PHP](/blogger/docs/1.0/developers_guide_php)\n- [Zend Reference Guide](http://framework.zend.com/manual/en/zend.gdata.html)\n- [Zend API Guide (phpdoc)](http://framework.zend.com/apidoc/core/) -- choose Zend_Gdata as the 'Package'\n- [Downloads page](http://framework.zend.com/download/gdata)\n\nPython client library\n---------------------\n\nThe Python client library is provided by Google and enables development\nof command-line, web, and Google App Engine applications.\n\n- [Getting Started Guide](/gdata/articles/python_client_lib)\n- [Blogger Developer's Guide for Python](/blogger/docs/1.0/developers_guide_python)\n- [Reference Guide](http://gdata-python-client.googlecode.com/hg/pydocs/) (PyDoc)\n- [Project main page](//code.google.com//p/gdata-python-client) (Subversion)\n- [Downloads page](//code.google.com//p/gdata-python-client/downloads/list)\n\nJavaScript client library\n-------------------------\n\nThe JavaScript client library provides full read/write capabilities from\nwithin JavaScript. Read-only access is also available via [raw JSON](/gdata/docs/json).\n\n- [Blogger interactive Developer's Guide for JavaScript](/blogger/docs/1.0/developers_guide_js)\n- [Reference Guide](/gdata/jsdoc/2.2) (JSdoc)\n\nObjective-C client library\n--------------------------\n\nThe Objective-C client library enables writing native Cocoa applications\nfor Mac OS X and now provides support for the iPhone SDK.\n\n- [Getting Started Guide](//code.google.com/p/gdata-objectivec-client/wiki/GDataObjCIntroduction)\n- [Project main page](//code.google.com/p/gdata-objectivec-client) (Subversion)\n- [Downloads page](//code.google.com/p/gdata-objectivec-client/downloads/list)\n\nExternal client libraries\n-------------------------\n\nThe following client libraries are not written by Google and are not supported by Google.\n\n- [Force.com\n Toolkit for Google Data APIs](http://wiki.apexdevnet.com/index.php/Google_Data_API_Toolkit) - Apex client library for Salesforce.com developers.\n\nSample code\n-----------\n\nA few sample programs that demonstrate how to use the API and the client\nlibraries, are linked below. Use them to help you get started!\n\n- **Java**\n - [Command-line\n sample using the client library](//code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/blogger)\n- **.NET**\n - [C#\n GUI and console samples using the client library](//code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/blogger)\n- **PHP**\n - [Simple\n ClientLogin sample using the client library](http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/Gdata/Blogger.php)\n- **Python**\n - [Simple\n command-line sample using the client library](//code.google.com/p/gdata-python-client/source/browse/trunk/samples/blogger/BloggerExample.py)\n- **JavaScript**\n - [Blogged\n Upon sample to comment about external posts using the client\n library](http://gdata-javascript-client.googlecode.com/svn/trunk/samples/blogger/blogged_upon/blogged_upon.html)\n - [\"Blog\n This\" embedded blog editor using the client library](http://gdata-javascript-client.googlecode.com/svn/trunk/samples/blogger/blog_this/blog_this.html)\n - [CalendBlogger\n Google Calendar to Blogger publisher using the client\n library](http://gdata-javascript-client.googlecode.com/svn/trunk/samples/blogger/calendblogger/calendblogger.html)\n - [blog.gears\n offline client for Blogger using Google Gears and the client\n library](http://gdata-javascript-client.googlecode.com/svn/trunk/samples/blogger/bloggears/bloggears.html)\n - [blog.press\n Blogger client using the client library](http://gdata-javascript-client.googlecode.com/svn/trunk/samples/blogger/blogpress/blogpress.html)\n- **Objective-C**\n - [GUI\n sample using the client library](//code.google.com/p/gdata-objectivec-client/source/browse/trunk/Examples/BloggerSample)\n- **Other**\n - [Google\n Data API Tips Blog](http://gdatatips.blogspot.com/search/label/blogger)\n\nTutorials\n---------\n\nArticles to help you get up and running quickly, debug problems or use\nyour favorite language with Google Data APIs. See [the articles page](/gdata/articles) for a complete\nlisting.\n\n- [Eclipse with the Java client library](/gdata/articles/eclipse)\n- [Ruby with the Google Data APIs](/gdata/articles/using_ruby)\n- [Google Data APIs on Salesforce.com](/gdata/articles/salesforce)\n- [Using cURL to interact with Google Data services](/gdata/articles/using_cURL)\n- [Using Proxy Servers with the Google Data client libraries](/gdata/articles/proxy_setup)\n- [Network Capture Tools for API debugging](/gdata/articles/wireshark)\n- [Debugging Google Data clients: Exploring Traffic from Within your Program](/gdata/articles/debugging_client_libs)\n\n[Back to top](#top)"]]