I'm dealing with this integral in my spare time, since days and days, and it's really interesting. I'll provide to write what I tried until now, and I would really appreciate some help in understanding how to continue.
$$\Phi(\epsilon) = \frac{1}{2\pi}\int_0^{2\pi}\ \frac{\sin^2\theta\ \text{d}\theta}{(1 + \epsilon\cos\theta)^2}$$
Note: The integral arises in studying the Kepler's problem, which is why $\epsilon\in [0;\ 1]$.
I started with the passages to the complex plane: $$\sin\theta = \frac{1}{2i}(z - z^{-1}) ~~~~~~~ \cos\theta = \frac{1}{2}(z + z^{-1}) ~~~~~~~ \text{d}\theta = \frac{\text{d}z}{iz}$$
thence
$$\begin{align*} \Phi(\epsilon) & = \frac{1}{2\pi}\oint_{|z| = 1}\ \frac{-\frac{1}{4}(z - z^{-1})^2\ \text{d}z}{iz\left[1 + \epsilon\frac{(z + z^{-1}}{2}\right]^2} \\\\ & = -\frac{1}{8\pi i}\oint_{|z| = 1}\ \frac{(z - z^{-1})^2\ \text{d}z}{z\left[\frac{2 + \epsilon(z + z^{-1})}{2}\right]^2} \\\\ & = -\frac{1}{4\pi i}\oint_{|z| = 1}\ \frac{(z - z^{-1})^2\ \text{d}z}{z(2 + \epsilon(z + z^{-1})^2} \\\\ & = -\frac{1}{4\pi i}\oint_{|z| = 1}\ \frac{\left(\frac{z^2 - 1}{z}\right)^2\ \text{d}z}{z\left(2 + \epsilon\frac{z^2+1}{z}\right)^2} \\\\ & = -\frac{1}{4\pi i}\oint_{|z| = 1}\ \frac{(z^2-1)^2\ \text{d}z}{z(2z + \epsilon(z^2+1))^2} \end{align*}$$
Poles et cetera
Poles are at $z_0 = 0$ and when $2z + \epsilon(z^2+1) = 0$, namely
$$z_1 = \frac{1+\sqrt{1 - \epsilon^2}}{\epsilon} ~~~~~~~~~~~ z_2 = \frac{1-\sqrt{1 - \epsilon^2}}{\epsilon}$$
Checking that $z_1\cdot z_2 = 1$ is ok, the question is now:
Question 1.: which one, aside $z_0$ lies into the unitary circle?
Question 2.: How to proceed?