An open API service indexing awesome lists of open source software.

https://github.com/learningobjectsinc/casal

An open-source library for doing CASA things
https://github.com/learningobjectsinc/casal

Last synced: 9 months ago
JSON representation

An open-source library for doing CASA things

Awesome Lists containing this project

README

          

# casal

[![Build Status](https://travis-ci.org/learningobjectsinc/casal.svg?branch=master)](https://travis-ci.org/learningobjectsinc/casal)

###Makes life with CASA easier

``` scala
val json = Source.fromURL("http://casa.com/out.payloads").mkString

val entities = parse(json).extract[List[Entity]]
val translated = entities.map(Casa.Transforms.ADJINTRANSLATE)
val squashed = translated.map(Casa.Transforms.ADJINSQUASH)
```

###Include in your project:
If you're using scala/sbt, you can include this project with:

``` scala
resolvers += "Learning Objects Bintray Repo" at "https://dl.bintray.com/learningobjectsinc/repo"

libraryDependencies += "com.learningobjects" %% "casal" % "1.0.0"
```

If you're using maven/java, you can include casal like:

``` xml


learningobjects-bintray
https://dl.bintray.com/learningobjectsinc/repo

false


...


com.learningobjects
casal_2.11
1.0.0

...

```

###To install locally
git clone git@github.com:learningobjectsinc/casal.git
cd casal
sbt compile
sbt publish #installs casal to ~/.m2/