#api

AVS Device SDK: Amazon bringt Alexa auf Raspberry Pi und andere Boards - Golem.de
<https: avs-device-sdk-amazon-bringt-alexa-auf-raspberry-pi-und-andere-boards-1708-129547.html="" news="" www.golem.de="">
#AmazonAlexa #Amazon #RaspberryPi #SDK #Startup #API #Applikationen #OpenSource #Softwareentwicklung</https:>

Golem (inoffiziell)

Container: Githubs Kubernetes-Cluster überlebt regelmäßige Kernel-Panic - Golem.de
<https: container-githubs-kubernetes-cluster-ueberlebt-regelmaessige-kernel-panic-1708-129543.html="" news="" www.golem.de="">
#Github #Kubernetes #Orchestrierung #API #Applikationen #Internet</https:>

Golem (inoffiziell)

How to: creating content via shcli

Socialhome has an API which covers most of the use cases for building a client. There is also a Python library/cli client that allows creating content over the API. This is a short introductory on how to use that.

shcli requires Python 3.4+. The client has only been tested on Linux, though it should work on Windows and Mac too. The only real dependency it has is the requests library.

Create a Python environment

Either install shcli in a virtualenv or globally, depending on your use case. For desktop users, a global installation makes sense.

Virtualenv

Install virtualenv for your system and create a Python 3 virtualenv and activate it.

Global install

Ensure you have a compatible Python 3 version of pip installed. For example on Ubuntu, this would be the python3-pip package.

Install shcli

Virtualenv:

 pip install shcli

Globally (for example on Ubuntu):

 sudo pip3 install shcli

Phew, now we're past the hard part.

Get API token

Go to your Socialhome account profile and find API token from the profile menu. Copy the token for later use. If you ever lose it, this is the place to generate a new token.

Post stuff!

Using the tool is easy. It currently only allows creating content, so commands and options are not plenty. More will be added in the future.

The client takes a command, a domain, a token and then parameters for text and visibility. The domain is your Socialhome account domain (for example socialhome.network) and token the API token copied in the previous step. To protect the token, the client always uses a HTTPS connection. This is why the protocol is not given in the command.

An example:

 shcli create socialhome.network 1234567890abcdefg \
     -t 'Hello world!' -v public

For complex creations, the client can retrieve the text from a file. Instead of -t, pass in the file name with the -f parameter. Visibility can be one of public, limited, self or site.

That's it pretty much! The response will be either the created content as JSON or some kind of error, if something went wrong.

Python API

You can also use the API through Python by importing shcli.create and passing in the same arguments as for the cli create command.

Code

The repo for shcli is on GitHub licensed under MIT.

#socialhome #howto #python #api

Socialhome HQ

Microsoft: .Net Core 2.0 erleichtert Portierungen - Golem.de
<https: microsoft-net-core-2-0-erleichtert-portierungen-1708-129489.html="" news="" www.golem.de="">
#Net #Linux #Programmiersprache #Xamarin #jit #API #Microsoft #Applikationen #OpenSource #Softwareentwicklung</https:>

Golem (inoffiziell)

Linux: AMDs Vega mit freiem Treiber deutlich schneller - Golem.de
<https: linux-amds-vega-mit-freiem-treiber-deutlich-schneller-1708-129481.html="" news="" www.golem.de="">
#Mesa #Benchmark #Grafiktreiber #Linux #OpenGL #Treiber #AMD #API #Applikationen #OpenSource</https:>

Golem (inoffiziell)

Radeon RX Vega 64 im Test: Schnell und durstig mit Potenzial - Golem.de
<https: news="" radeon-rx-vega-64-im-test-schnell-und-durstig-mit-potenzial-1708-127610.html="" www.golem.de="">
#AMDVega #3DMark #Ethereum #GeforceGTX #Grafikhardware #RadeonSoftware #Test #API #PC-Hardware</https:>

Golem (inoffiziell)

Spracherkennung: Google erweitert die Cloud Speech API

#api #cloud #die #erweitert #google #speech #spracherkennung

heise Developer (inoffiziell)

Spracherkennung: Google erweitert die Cloud Speech API

#api #cloud #die #erweitert #google #speech #spracherkennung

heise online Newsticker (inoffiziell)

CloudRail bietet API-Integrationen für Xamarin

#api #bietet #cloudrail #integrationen #xamarin

heise Developer (inoffiziell)

Mozilla: Firefox 55 bringt Virtual Reality in den Browser - Golem.de
<https: mozilla-firefox-55-bringt-virtual-reality-in-den-browser-1708-129383.html="" news="" www.golem.de="">
#Firefox #Browser #Flash #API #Mozilla #Technologie #Applikationen #OpenSource</https:>

Golem (inoffiziell)

Simulatoren: Quantencomputer werden heute schon programmiert - Golem.de
<https: news="" simulatoren-quantencomputer-werden-heute-schon-programmiert-1708-129205.html="" www.golem.de="">
#Quantencomputer #Atos #Verschlüsselung #API #IBM #Applikationen #Security</https:>

Golem (inoffiziell)

Filesharing: Mozillas Send erlaubt einfachen Datentausch - Golem.de
<https: filesharing-mozillas-send-erlaubt-einfachen-datentausch-1708-129334.html="" news="" www.golem.de="">
#Filesharing #Browser #Firefox #Malware #Tauschbörse #API #Mozilla #Server #Applikationen #Internet</https:>

Golem (inoffiziell)

Test post via #Socialhome #API

Jason Robinson

OK #Django #REST #Swagger docs generator is pretty damn sweet. Just install and type some docstrings, everything else is automatic ✌

Docs still WIP, but that was literally 5 minutes of work.

In related notes, #Socialhome #API got content CRUD operations and image upload merged. Now I want to install an #Android SDK and start making a photo upload app 😁

Jason Robinson

Security: Linux-Desktops brauchen bessere Verteidigung - Golem.de
<https: news="" security-linux-desktops-brauchen-bessere-verteidigung-1708-129244.html="" www.golem.de="">
#Linux #Dateisystem #Gnome #Linux-Distribution #Passwort #API #Applikationen #OpenSource #Security</https:>

Golem (inoffiziell)

REST-API für Domain-Verwaltung inklusive DNSSEC

#api #dnssec #domain #inklusive #rest #verwaltung

heise Netze (inoffiziell)

DynDNS: REST-API für Domain-Verwaltung inklusive DNSSEC

#api #dnssec #domain #dyndns #inklusive #rest #verwaltung

heise online Newsticker (inoffiziell)

OpenGL 4.6 officially released, new beta NVIDIA driver with support for it | GamingOnLinux https://www.gamingonlinux.com/articles/opengl-46-officially-released.10073

#linux #api #opengl #graphics

GamingOnLinux

id Software: Wolfenstein 2 unterstützt FP16 und Vulkan - Golem.de
<https: id-software-wolfenstein-2-unterstuetzt-fp16-und-vulkan-1707-129201.html="" news="" www.golem.de="">
#Wolfenstein #Business-Notebooks #Playstation4 #AMD #API #Bethesda #idSoftware</https:>

Golem (inoffiziell)

Nextcloud registration API

#api #nextcloud #registration

Nextcloud Planet (unofficial)

Amazon Alexa: Smart Home Skill API kann Kameras ansteuern

#alexa #amazon #ansteuern #api #home #kameras #kann #skill #smart

heise online Newsticker (inoffiziell)