1,125 Matching Annotations
  1. Feb 2024
    1. troisième cas ah il y a pas d'intégration de pire et ben là il faut regarder si l'outil a une API l'API c'est le tuyau qui va vous 01:13:58 permettre de venir vous connecter à l'outil par contre c'est un peu plus technique ça avec du code je vous raconte pas je vous dis à l'époque que je sais ce fondateur de simplon.co les API on voyait ça au bout du cinquième mois de formation au code c'est complexe 01:14:10 mais en de nos codes avec zapper ou avec Make on a déjà vu des gens qui avaient trois jours dans les pattes et qui ont commencé à interconnecter les API voire moins donc vous pouvez vous connecter à un service s'il a une API via zapia ou 01:14:24 via mage qui a un outil qui a une fonctionnalité de connexion aux API et s'il y a pas d'API et ben vous avez qu'à demander à l'outil qui fasse une API parce que ça veut dire qu'il est pas connectable
  2. Jan 2024
  3. Dec 2023
    1. Kaynağın verdiği bilgi ve önerisi: Sağladığı yemeklerin PSAKD binasından yüklenebileceğini, yakın yerlerde olursa taşımayı kendisinin yapabileceğini söylüyor. Fotoğrafını görebilirsiniz

    2. Kaynağın verdiği bilgi ve önerisi: Sağladığı yemeklerin PSAKD binasından yüklenebileceğini, yakın yerlerde olursa taşımayı kendisinin yapabileceğini söylüyor. Fotoğrafını görebilirsiniz

    3. Kaynağın verdiği bilgi ve önerisi: Sağladığı yemeklerin PSAKD binasından yüklenebileceğini, yakın yerlerde olursa taşımayı kendisinin yapabileceğini söylüyor. Fotoğrafını görebilirsiniz

    4. Kaynağın verdiği bilgi ve önerisi: Sağladığı yemeklerin PSAKD binasından yüklenebileceğini, yakın yerlerde olursa taşımayı kendisinin yapabileceğini söylüyor. Fotoğrafını görebilirsiniz

    5. Comment textimizdir.<br> Ve bu da Hanzala arkadaşın bir resmidir.

  4. Nov 2023
  5. Oct 2023
  6. Sep 2023
    1. Undocumented Hypothes.is Badge API (used by Chrome extension):

      ```python """ Return the number of public annotations on a given page.

      This is for the number that's displayed on the Chrome extension's badge.

      Certain pages are blocklisted so that the badge never shows a number on those pages. The Chrome extension is oblivious to this, we just tell it that there are 0 annotations. """ ```

      https://hypothes.is/api/badge?uri=* same as https://hypothes.is/api/search?limit=0&uri=*.

    1. Add a new, undocumented separate_replies=True option to the search API. If separate_replies=True option is _not_ given to the search API, then it reverts to its previous behaviour: _do_ include replies in the "rows" list returned. This is the same behaviour that the search API had befor: it returns both top-level annotations and replies in the one "rows" list, but without any guarantee that if some annotations/replies from a given thread are in the list then all annotations/replies from that thread will be in it. If separate_replies=True _is_ given then the API follows the new behaviour: "rows" contains top-level annotations only, and a separate "replies" list containing all replies to the annotations in rows is also inserted into the result.
    1. We will try to add two tests for response code in order to know that our request was successful. Another test we will add for response time <  2 sec in order to understand how fast request was processed by server. If it will be executed slower then for 2 seconds, our test will fail. In this case I use 2 seconds just for example it might be greater or lower number, but 7 seconds is usually a maximum time for request execution. So in order to add tests, go to “Tests” in request section of application and add this few lines : tests["Status code is 200"] = responseCode.code === 200; tests["Response time is less than 200ms"] = responseTime < 2000; When this is done hit on Send button again and execute your first test.

      Good case -- importance of adding tests to validate response codes and times, ensuring optimal server performance and response.

    1. Developers use tools like Postman for API test automation to create WMS system integration technologies that help you increase efficiency by automating manual processes. The WMS connects all of your warehouse locations so that you can easily access information about your inventory, orders, and shipments from any computer.

      Leveraging tools such as Postman, developers can automate API tests, leading to the creation of efficient Warehouse Management System (WMS) integrations that streamline operations.

    1. So now we have a file that you need to open in JMeter UI, configure number of threads that you want to execute and you are good to go.

      After converting the Postman test into a JMeter format, users can easily adjust the concurrency settings by configuring the number of threads in the JMeter UI, offering flexibility in load testing scenarios.

    1. Let’s add a test that will validate that number of results on a page is lower then total number of results.

      This code snippet in Postman ensures that the number of displayed results on a single page is always less than the total count of results, ensuring pagination is functioning correctly.

  7. Aug 2023
    1. which I pulled out of the API as a JSON file by tweaking a bash script a nice stranger wrote up on the spot when I asked about JSON export

      This I would very much like to learn more details about... I've been unable to find comprehensive documentation of Bluesky's API thus far.

  8. Jul 2023
    1. Например: Выгрузка статистики в Google Sheets из Яндекс Метрики, Google Analytics Выгрузка статистики в Google Sheets из рекламных кабинетов Яндекс Директ, ВКонтакте Выгрузка статистики в Google Sheets из маркетплейсов Ozon, Wildberries Выгрузка данных из сервисов с которыми нет коннекторов, но где есть API

      Очень полезная штука для автоматизации сбора статистики

    1. ```js import { ThreadsAPI } from 'threads-api';

      // or in Deno 🦖: // import { ThreadsAPI } from "npm:threads-api";

      const main = async () => { const threadsAPI = new ThreadsAPI();

      const username = '_junhoyeo'; const id = await threadsAPI.getUserIDfromUsername(username); console.log(id);

      if (!id) { return; }

      const user = await threadsAPI.getUserProfile(username, id); console.log(JSON.stringify(user));

      const posts = await threadsAPI.getUserProfileThreads(username, id); console.log(JSON.stringify(posts));

      const replies await threadsAPI.getUserProfileReplies(username, id); console.log(JSON.stringify(replies)); }; main(); ```

  9. Jun 2023
    1. Assistant messages store previous assistant responses, but can also be written by a developer to give examples of desired behavior.

      Assistant is who answering questions?

    2. The user messages provide requests or comments for the assistant to respond to

      User is who asking questions?

    3. "You are a helpful assistant."

      Default system message.

    4. The system message helps set the behavior of the assistant.

      How to set up a good system message?

  10. May 2023
  11. Apr 2023
    1. Clients interact with a service by exchanging representations of resources.
    2. A primary advantage of REST over HTTP is that it uses open standards, and does not bind the implementation of the API or the client applications to any specific implementation.
  12. Mar 2023
    1. Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification.

      Whisper는 범용 음성 인식 모델입니다. 다양한 오디오의 대규모 데이터 세트를 학습하고 다국어 음성 인식, 음성 번역, 언어 식별을 수행할 수 있는 멀티태스킹 모델이기도 합니다.

    1. Image generation BetaLearn how to generate or manipulate images with our DALL·E models

      텍스트 프롬프트를 기반으로 처음부터 이미지 만들기 새 텍스트 프롬프트를 기반으로 기존 이미지의 편집본 만들기 기존 이미지의 변형 만들기

  13. Feb 2023
  14. Jan 2023
    1. ```js const TOKEN = "YOUR_PERSONAL_ACCESS_TOKEN"; const GIST_ID = "YOUR_GIST_ID"; const GIST_FILENAME = "db.json";

      / * Reads the JSON file inside of the gist / async function getData() { const req = await fetch(https://api.github.com/gists/${GIST_ID}); const gist = await req.json(); return JSON.parse(gist.files[GIST_FILENAME].content); }

      / * Puts the data you want to store back into the gist / async function setData(data) { const req = await fetch(https://api.github.com/gists/${GIST_ID}, { method: "PATCH", headers: { Authorization: Bearer ${TOKEN}, }, body: JSON.stringify({ files: { [GIST_FILENAME]: { content: JSON.stringify(data), }, }, }), });

      return req.json(); } ```

    1. As an email service provider (ESP), Mailgun’s API support is all about programmatic solutions to make your email program more efficient and successful at scale. Our email API is a specific type of API that you can use to connect your web app or platform to an ESP to use its features within your own application.
  15. Dec 2022
    1. Europe PMC Annotations API provides text mining annotations contained in abstracts and open access full text articles, using the W3C Open Annotation Data Model
    1. Forks that do have a custom limit usually expose it as the max_toot_chars field in /api/v1/instance

      https://discourse.joinmastodon.org/t/get-character-limit-from-instance/3643/2

      Appending /api/v1/instance to a Mastodon instance will return a lot of interesting data about it and how it's set up.

    1. You can filter the resource using criteria specified as query[*]. You can provide multiple criteria, to use AND logic. You can sort the resource using parameters specified as sort[*]. You can specify multiple fields to sort by.
    2. Enum:"add" "delete" An additional flag parameter with the value add will add masks provided in the request body to the list. A flag value delete will delete masks from the list. If there's no parameter provided, masks are replaced.
    1. Dilemma: Do I use this unofficial library with its really nice idiomatic API or the official library (https://github.com/mailgun/mailgun-ruby) with its inferior API?

      I wish this one was still/better maintained because I'd much rather use this API, like: @mailgun.lists.create "devs@your.mailgun.domain" @mailgun.lists.list @mailgun.lists.find "devs@your.mailgun.domain"

      but it's not maintained, and looks like it doesn't have the word events in the source at all, so it's missing any way to use the Events API. :(

  16. Nov 2022
    1. Swagger is a tool implementing the Open API specification which defines a standard, language-agnostic interface for describing HTTP-based APIs.
    1. Donations

      To add some other intermediary services:

      To add a service for groups:

      To add a service that enables fans to support the creators directly and anonymously via microdonations or small donations by pre-charging their Coil account to spend on content streaming or tipping the creators' wallets via a layer containing JS script following the Interledger Protocol proposed to W3C:

      If you want to know more, head to Web Monetization or Community or Explainer

      Disclaimer: I am a recipient of a grant from the Interledger Foundation, so there would be a Conflict of Interest if I edited directly. Plus, sharing on Hypothesis allows other users to chime in.

    1. Clean code examples (YouTube)Why Are You Still Creating CRUD APIs?Remove Your If-Else and Switch CasesWhy Cognitive and Cyclomatic Complexity Matters in Software DevelopmentWriting Cleaner Code (With Examples)Resources for the curious📚 Source Code (GitHub) by Nicklas Millard, the authorRESTful API Design by MicrosoftArchitectural Styles and the Design of Network-based Software Architectures by R.T. FieldingWhat is REST by codeacademyIs Crud Bad For Rest? by Boris LublinskyHATEOAS Driven REST APIs by restfulapi.netHATEOAS — a simple explanation by Bartosz JedrzejewskiWhy HATEOAS is useless and what it means for REST by Andreas ReiserRESTful Considered Harmful by Tomasz NurkiewiczTask-Based UI on cqrs.wordpress.comCRUD is an antipattern by Mathias VerraesWhy REST sucks by Troy A. Griffitts

      Useful links for Web & generic programming.

    2. RPC-like but still REST-full is way more preferred than those rotten CRUD designs.

  17. Oct 2022