Bluesky · Hashtag

#API

474
posts · 30d
179
users
16
posts / day
2.6
posts / user
-15% vs last week

#API is an active hashtag on Bluesky. In the last 30 days, 179 people shared 474 posts with it — around 16 a day. Activity is down 15% versus the previous week, peaking on Jul 24 with 30 posts.

#API posts per day (last 30 days)

Posts with #API

BluViola
@bisognodelpensiero.bsky.social
5 months ago
Le sacche alle zampe sono piene di polline: un carico pari al 25% dell loro peso. Quando il nettare di alcuni #fiori fermenta al sole, produce alcol: le #api che lo bevono tornano a casa su di giri; all'ingresso dell'alveare le guardiane gli impediscono di entrare finché non passa la sbronza
18 32 195
ErikEJ
@erikej.bsky.social
over 1 year ago
Build REST API for your database in minutes and with "4 lines of code" using .NET Aspire 9 and a couple of Community Toolkit packages! You can use the API via Swagger right away! #dotnet #sqlserver #azure #aspire #api
5 14 74
Stefano Tartarotti
@tartacana.bsky.social
about 1 year ago
Oggi è la Giornata Mondiale delle #Api. Ricorrenza volta a sensibilizzare l'opinione pubblica sull'importanza degli impollinatori, sulle minacce che affrontano e sul loro contributo allo sviluppo sostenibile. #giornatamondialedelleapi #WorldBeeDay
2 11 41
Freek Van der Herten
@freek.bsky.social
over 1 year ago
🌟 How to setup and use the Google Calendar API #php #laravel #api #google #calendar #PHP

freek.dev

How to setup and use the Google Calendar API

For a project I'm working on I needed to interact with a Google Calendar. If you've ever worked with some API's by Google then you know their documentation can be very confusing. It's not that they don't have documentation, but code examples of common use cases are simply not present. You must wade through a lot of pages to learn basic things such as how to make an authorized request let alone how to fetch calendar events. In this post I'd like to explain in a human readable way how setup and use the Google Calendar API. <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.44.40.jpg"><img class="alignnone size-full wp-image-2673" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.44.40.jpg" alt="Screen Shot 2016-05-09 at 19.44.40" width="970" height="568" /></a> <h3>Getting credentials</h3> The first thing you'll need to do is to get some credentials to use Google API's. I'm assuming that you've already created a Google account and are signed in. Head over to<a href="https://console.developers.google.com/apis/library"> Google API's site</a> and click "Select a project" in the header. Choose "Create a new project" in the menu that opens. You can give that project any name you'd like. <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.55.44-1.jpg"><img class="alignnone size-full wp-image-2668" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.55.44-1.jpg" alt="Screen Shot 2016-05-09 at 18.55.44" width="2784" height="1816" /></a> Next up we must specify which API's the project may consume. In the list of available API's click "Google Calendar API". On the next screen click "Enable". <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.56.07-1.jpg"><img class="alignnone size-full wp-image-2669" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.56.07-1.jpg" alt="Screen Shot 2016-05-09 at 18.56.07" width="2784" height="1816" /></a> Now that you've created a project that has access to the Calendar API it's time to download a file with these credentials. Click "Credentials" in the sidebar. You'll want to create a "Service account key".<a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.56.48.jpg"><img class="alignnone size-full wp-image-2661" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.56.48.jpg" alt="Screen Shot 2016-05-09 at 18.56.48" width="2784" height="1816" /></a> On the next screen you can give the service account a name. You can name it anything you'd like. In the service account id you'll see an email address. We'll use this email address later on in this guide. Select "JSON" as the key type and click "Create" to download the JSON file. <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.57.18.jpg"><img class="alignnone size-full wp-image-2662" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-18.57.18.jpg" alt="Screen Shot 2016-05-09 at 18.57.18" width="2784" height="1816" /></a> <h3>Setting up the Google Calendar</h3> Now that everything is set up on the API site, we'll need to configure some things on the Google Calendar site. Head over Google Calendar and view the settings of the calendar you want to work with via PHP. On the "Share this Calendar" tab add the service account id that was displayed when creating credentials on the API site. <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.10.52.jpg"><img class="alignnone size-full wp-image-2664" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.10.52.jpg" alt="Screen Shot 2016-05-09 at 19.10.52" width="2780" height="1812" /></a> Open up the "Calendar Details" tab to see the id of the calendar. We'll need this id later on. <a href="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.19.10.jpg"><img class="alignnone size-full wp-image-2665" src="/uploads/2016/05/Screen-Shot-2016-05-09-at-19.19.10.jpg" alt="Screen Shot 2016-05-09 at 19.19.10" width="2784" height="1816" /></a> <h3>Accessing the calendar in PHP</h3> Now that everything is set up at Google, let's finally write some PHP. In your project make sure you require `google/apiclient` in your `composer.json`. This piece of code can be used to fetch all events on your calendar: ```php $client = new Google_Client(); // $credentialsJson should contain the path to the json file downloaded from the API site $credentials = $client->loadServiceAccountJson( $credentialJson, 'https://www.googleapis.com/auth/calendar' ); $client->setAssertionCredentials($credentials); $service = new Google_Service_Calendar($client); // $calendarId should contain the calendar id found on the settings page of the calendar $events = $service->events->listEvents($calendarId); ``` In the example above all events will get fetched. Of course the API can do a whole lot more. Take a look at <a href="https://developers.google.com/google-apps/calendar/v3/reference/events">the API docs</a> to learn what's possible. <h3>In closing</h3> Setting up and using the calendar API, and the other Google API's is not that difficult. The key thing that's missing is proper documentation. I hope that in the future Google will add some easy to follow tutorials and practical examples to their docs. It took me about an hour to learn and set everything mentioned in this post. With good documentation the required time would be around 5 minutes (and there would be much less frustration). If you're using Laravel you'll be happy to know that I'm currently developing <a href="https://github.com/spatie/laravel-google-calendar">a package</a> that makes working with a Google Calendar a breeze. My goal is to make this code work: ```php use \Spatie\GoogleCalendar\Event; //creating events $event = new Event(); $event->title = 'My new event' $event->start = Carbon::now(); $event->end = Carbon::now()->addHour(); $event->save(); //fetching all events $allEvents = Event::all(); //updating an event $event = $allEvents->first(); $event->name = 'updated name'; $event->save(); //deleting an event $allEvents->last()->delete(); ``` I'm not planning on supporting all the features of the native API, but if you need only the basic functionality, this will be the package for you.

2 3 37
@germeytech.bsky.social
about 18 hours ago
Stop switching image APIs mid-build. One OpenAI-style endpoint calls gpt-image-2, Nano Banana, and Nano Banana Pro for posters, UI mockups, product shots—change `model`. One token, free credits, pay-as-you-go. platform.acedata.cloud/do… #AI #API
Developer workflow illustration with a terminal API request and model cards for gpt-image-2, Nano Banana, and Nano Banana Pro flowing into generated image thumbnails.
1 0 3
ᴅʀ. ᴍᴏᴡɪɴᴄᴋᴇʟ'ꜱ
@drmowinckels.io
over 1 year ago
📝 New post: 'Cracking the LinkedIn API through R' 🧝 Master LinkedIn API in R with my detailed guide on authentication, posting, and overcoming documentation challenges. 👀 drmowinckels.io/blog/2025…. #Rstats #linkedin #API #GitHub
Cracking the LinkedIn API through R - Dr. Mowinckel’s

drmowinckels.io

Cracking the LinkedIn API through R - Dr. Mowinckel’s

Master LinkedIn API in R with my detailed guide on authentication, posting, and overcoming documentation challenges.

2 7 30

Posts are pulled live from Bluesky and cached briefly. Posts with content labels are hidden.