
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
blue.starry:penicillin
Advanced tools
Documentation is available at GitHub Pages.
suspend fun main() {
// Create new PenicillinClient.
PenicillinClient {
account {
application("ConsumerKey", "ConsumerSecret")
token("AccessToken", "AccessToken Secret")
}
}.use { client ->
// Retrieve up to 100 tweets from @POTUS.
val timeline = client.timeline.userTimelineByScreenName(screenName = "POTUS", count = 100).execute()
// The return value of the timeline is `JsonArrayResponse<Status>`. It implements `Iterable<T>`, which allows iterative operations.
timeline.forEach { status ->
// Print unescaped status text. If you want to get the raw html reference characters, you can use `textRaw`.
println(status.text)
}
}
}
Other examples can be found at Wiki. If you have any questions, please let us know at Issue.
Penicillin is now available in the Maven Central since version 6.1.0. The previous Bintray repository is no longer available.
dependencies {
implementation("blue.starry:penicillin:$PenicillinVersion")
// Choose your favorite engine from https://ktor.io/clients/http-client/engines.html
// The version should match the version of Ktor that Penicillin is using.
implementation("io.ktor:ktor-client-apache:1.6.8")
implementation("io.ktor:ktor-client-cio:1.6.8")
}
Penicillin is provided under the MIT license.
Copyright (c) 2017-2022 StarryBlueSky.
FAQs
Unknown package
We found that blue.starry:penicillin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.