textocat-api alternatives and similar packages
Based on the "API" category.
Alternatively, view textocat-api alternatives based on common mentions on social networks and blogs.
-
serverless-haskell
Deploying Haskell applications to AWS Lambda with Serverless -
stratosphere
Haskell EDSL and type-checker for AWS CloudFormation templates -
github-webhooks
Haskell types and instances for decoding GitHub webhook payloads. -
servant-to-elm
Generate Elm client libraries from Servant API definitions. -
reflex-gadt-api
Interact with a JSON-serialized API defined by a GADT in your reflex-dom application -
amazonka-s3-streaming
Provides a conduit based interface to uploading data to S3 using the Multipart API -
oanda-rest-api
Haskell library implementing the OANDA REST API -
aws-ec2
Now maintained by: See https://github.com/memcachier/aws-ec2 -
aws-kinesis-client
A producer/consumer client library for Kinesis -
language-cil
Manipulating Common Intermediate Language AST in Haskell -
cabal-debian
Create a Debianization by examining a .cabal file. -
hw-kafka-avro
SchemaRegistry bindings with Avro scheme to use with kafka-client -
aws-performance-tests
Performance Tests for the Haskell Bindings for Amazon Web Services (AWS) -
aws-sign4
Haskell implementation of the AWS Signature V4 protocol for signing HTTP requests -
aws-configuration-tools
Configuration types, parsers and renderers for AWS services using configuration-tools -
github-rest
A flexible Haskell API for querying the GitHub REST API -
arbor-postgres
Convenience types and functions to make postgresql-simple easier and less error-prone to use. -
aws-cloudfront-signer
Haksell library package for signing URL requests to the AWS CloudFront service -
github-backup
backs up everything github knows about a repository, to the repository -
aws-elastic-transcoder
extension to the Haskell AWS repository to interface to the AWS Elastic Transcoder service -
themoviedb
Simple Haskell library that provides functions for retrieving movie metadata from TheMovieDB
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of textocat-api or a related project?
README
Textocat API -- Haskell
Unofficial Haskell binding for Textocat API http://textocat.com
Installation
You can download this package from [http://hackage.haskell.org/package/textocat-api](hackage)
cabal install textocat-api
Documentation
API itself is documented at http://docs.textocat.com
This binding is documented at http://hackage.haskell.org/package/textocat-api
Usage
{-# LANGUAGE OverloadedStrings #-}
import Data.Textocat
import Network.Textocat
import Control.Monad (when)
import System.Exit (exitFailure)
cfg = mkConfig "API-KEY"
documents = [ mkDocument "Привет, мир!"
, setTag "haskell" $ mkDocument "Язык Haskell признан лучшим языком для выдающихся хакеров на ICFPC 2014"
]
main = do
status <- serviceStatus cfg
when (status /= ServiceOK) exitFailure
putStrLn "Queue documents"
Right bs <- entityQueue cfg documents
putStrLn "Request status"
entityRequest cfg $ getBatchID bs
putStrLn "Wait until finished"
waitForFinished cfg $ getBatchID bs
putStrLn "Retrieve documents"
-- we retrieve both bs1 and bs2 to test whether API works correctly
-- with several documents
Right res <- entityRetrieve cfg $ [getBatchID bs]
let entities = concatMap getEntities $ getDocuments res
mapM_ print entities
putStrLn "Search documents"
Right found <- entitySearch cfg "Haskell"
mapM_ print $ getFoundDocuments found
License
Copyright 2014-2015 Mansur Ziatdinov
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*Note that all licence references and agreements mentioned in the textocat-api README section above
are relevant to that project's source code only.