#api

Oracle: Java SE 9 und Java EE 8 gehen live - Golem.de
<https: news="" oracle-java-se-9-und-java-ee-8-gehen-live-1709-130207.html="" www.golem.de="">
#Java #JSON #OpenJDK #Oracle #Programmiersprache #Server-Applikationen #Software #API #Applikationen #Softwareentwicklung</https:>

Golem (inoffiziell)

Nextcloud registration API

#api #nextcloud #registration

Nextcloud Planet (unofficial)

Compiler-Baukasten: LLVM 5.0 erweitert Ryzen- und AMDGPU-Unterstützung - Golem.de
<https: compiler-baukasten-llvm-5-0-erweitert-ryzen-und-amdgpu-unterstuetzung-1709-130049.html="" news="" www.golem.de="">
#LLVM #AMDZen #Compiler #FFmpeg #Mesa #SandyBridge #Wasm #API #Technologie #Applikationen</https:>

Golem (inoffiziell)

Android-Verbreitung: 100 Prozent aller Android-Geräte sind veraltet - Golem.de
<https: android-verbreitung-100-prozent-aller-android-geraete-sind-veraltet-1709-130017.html="" news="" www.golem.de="">
#Android #Android23 #Android40 #Android43 #Android44 #Android50 #GooglePlay #API #Google</https:>

Golem (inoffiziell)

Sicherheitslücke bei FCC: Die FCC akzeptiert Malware-Uploads - Golem.de
<https: news="" sicherheitsluecke-bei-fcc-die-fcc-akzeptiert-malware-uploads-1709-129859.html="" www.golem.de="">
#Security #FCC #Malware #Sicherheitslücke #API #PDF #Server #Internet</https:>

Golem (inoffiziell)

Fehler in API: Möglicherweise Millionen Kontaktdaten von Instagram-Usern öffentlich
<https: fehler-in-api-moeglicherweise-millionen-kontaktdaten-von-instagram-usern-oeffentlich-3820497.html="" meldung="" newsticker="" www.heise.de="">
#API #Hardware-Hacking #Instagram</https:>

Home

heise online (inoffiziell)

E-Mail-Adresse: Instagram bestätigt Sicherheitslücke in API - Golem.de
<https: e-mail-adresse-instagram-bestaetigt-sicherheitsluecke-in-api-1708-129803.html="" news="" www.golem.de="">
#API #2-FA #Instagram #Passwort #SMS #Sicherheitslücke #Applikationen #Security</https:>

Golem (inoffiziell)

https://twitter.com/jaywink/status/901825605381103616

#Zapier webhook to #Socialhome #API test


Jason Robinson

Runecast Analyzer 1.6: Neue REST API für die VMware-Überwachung

#analyzer #api #berwachung #die #neue #rest #runecast #vmware

heise online Newsticker (inoffiziell)

Android 8.0 im Test: Fertig oder nicht fertig, das ist hier die Frage - Golem.de
<https: android-8-0-im-test-fertig-oder-nicht-fertig-das-ist-hier-die-frage-1708-129665.html="" news="" www.golem.de="">
#Android80 #GoogleApps #GooglePlay #Test #API #Google #Mobil</https:>

Golem (inoffiziell)

Play Store: Google entfernt 500 Android-Apps mit 100 Millionen Downloads - Golem.de
<https: news="" play-store-google-entfernt-500-android-apps-mit-100-millionen-downloads-1708-129645.html="" www.golem.de="">
#GooglePlay #Android #Cookies #Datenschutz #API #Google #Internet #Security</https:>

Golem (inoffiziell)

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)