Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
st-client2
Advanced tools
Readme
Репозиторий переехал в монорепозиторий фронтенда и заморожен.
Клент для API стартрека. Легкий, простой, прозрачный. Постороен на основе Promise.
npm install st-client --registry=http://npm.yandex-team.ru
var client = require('st-client').init({ token: '<token>' });
client.getIssue('WEATHER-3300')
.then(function (issue) {
console.log('%s – %s', issue.key, issue.summary)
});
client.issues({ query: 'Queue: WEATHER Key: WEATHER-3300, WEATHER-3301, WEATHER-3302' })
.then(function (issues) {
issues.forEach(function (issue) {
console.log('[%s] %s – %s', issue.status.key, issue.key, issue.summary);
})
});
Создает клиента.
Объект с опциями
Type: String
OAuth токен. Подробнее в вики.
Type: String
Значение куки Session_id. Подробнее в вики.
Type: Object
Значение сервисного и клиетского tvm2-тикетов. Объект вида { serviceTicket, clientTicket }. Подробнее в вики.
Type: String
Default: ru-RU, ru
Язык. Подробнее в вики.
Type: String
Default: http://st-api.yandex-team.ru/v2
Адрес API.
Type: object
Опции для http-клиента got. Позволяют переопределить, например, таймаут или настройки резолвинга.
Методы повторяют структуру API, поэтому описание смотрите на вики
client.issues(params)
client.getIssue(id, params)
client.createIssue(data)
client.updateIssue(id, data)
Воркфлоу
Аттрибуты тикета
Пользователи
client.queues(params)
client.getQueue(id, params)
client.createQueue(data)
client.updateQueue(id, data)
client.deleteQueue(id)
Атрибуты очереди
client.getBoard(id)
Спринты
Пожалуйста, прочитайте contribution guide перед созданием issue или отправкой пулл-реквеста.
$ npm run lint
$ npm test
FAQs
Yandex StarTrek API Client
The npm package st-client2 receives a total of 0 weekly downloads. As such, st-client2 popularity was classified as not popular.
We found that st-client2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.