REST (Representational state transfer) is an architectural style for distributed hypermedia systems.
Read more 👉 https://lttr.ai/AZvvO
#REST #RESTful #UnexpectedSideEffects #ApplicationProgrammingInterface #RepresentationalStateTransfer
REST (Representational state transfer) is an architectural style for distributed hypermedia systems.
Read more 👉 https://lttr.ai/AZvvO
#REST #RESTful #UnexpectedSideEffects #ApplicationProgrammingInterface #RepresentationalStateTransfer
It's crucial to know the most common HTTP status codes, as there are over 30 of them.
Read more 👉 https://lttr.ai/ATvUq
#REST #RESTful #UnexpectedSideEffects #ApplicationProgrammingInterface #RepresentationalStateTransfer
Leonard Richardson breaks down the principal elements of a REST approach into three steps
Read more 👉 https://lttr.ai/ATj6A
#REST #RESTful #UnexpectedSideEffects #ApplicationProgrammingInterface #RepresentationalStateTransfer
Trying to add a PointerProperty for a PropertyGroup, I didn’t include specific from imports and was getting an error trying to use a naked PointerProperty. So I prefixed it with “bpy.types.” After spending an embarrassing amount of time trying to figure out why I was getting the following:
TypeError: bpy_struct.__new__(type): expected a single argument
I tried adding a specific import for the class. Suddenly the error was gone and my thing worked (after working through later errors)!
But why couldn’t I address the class directly? Ha ha. Turns out there there is a class in one module and a function in another. Guess which one I used. 🙃
bpy.props.PointerProperty is the function I should have been using all along.
#Blender3D #PythonScripting #ApplicationProgrammingInterface
Speaking of bots ...
Cheap Bots, Toot Sweet! (free):
"This site will help you make a Mastobot! They're easy to make and free (for you) to run."
https://cheapbotstootsweet.com
(why are we talking about bots? Twitter says it is closing their API except for paid users beginning Feb 9, which affects a lot more things than shitty troll accounts, news updates, or just fun stuff. Many civic services, alerts, weather warnings, transport, traffic, academic accounts, research, museums, schools, etc. will be out of luck, as well as (probably?) sites that use Twitter sign-in or authentication for any reason.)
#bots #twitter #API #Mastobot #Mastobots #Mastodon #MastodonBots #MastodonAPI #ApplicationProgrammingInterface
Put APIs to Work wth this ArduinoJson Walkthrough
One of the things this community is famous for is the degree to which people will pitch in to fill an obvious need. Look at the vast array of libraries available for Arduino as an example of how people are willing to devote their time to making difficult tasks easier, often for little more than a virtual pat on the back.
One level up from the library writers are those who go through the trouble of explaining how all these libraries work in real-world applications. [Brian Lough] recently rose to that challenge with a thorough explanation of the use of the ArduinoJSON library, a very useful but often confusing library that makes IoT projects easier.
The need for an ArduinoJSON explainer no knock on its author, [Benoît Blanchon], who has done excellent work documenting the library; it's more of a realization that the nature of JSON itself means a library that works with it is going to be complex. [Brian]'s contribution here is sharing his insights into getting ArduinoJSON up and running in a real-world ESP32 example, and dealing with the potential pitfalls of parsing a human-readable text file that can be used to represent almost any data object using the limited resources of a microcontroller. Along with the basics, we found the warning about how pointers refer back to the dynamic JSON document object particularly helpful; the bit about using filters to winnow down a large data set was useful too.
Thanks to [Brian] for taking the time to put this valuable information out there. Here's hoping this encourages others to share the wealth of hard-earned knowledge in a similarly clear and concise manner.
#microcontrollers #api #applicationprogramminginterface #arduinojson #deserialization #javascriptojectnotation #json #parsing #serialization
APIs explained